Merge ModelsBuilder in, NuGet dies on circ dependencies now
This commit is contained in:
23
src/Umbraco.ModelsBuilder/ImplementPropertyTypeAttribute.cs
Normal file
23
src/Umbraco.ModelsBuilder/ImplementPropertyTypeAttribute.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Umbraco.ModelsBuilder
|
||||
{
|
||||
/// <summary>
|
||||
/// Indicates that a property implements a given property alias.
|
||||
/// </summary>
|
||||
/// <remarks>And therefore it should not be generated.</remarks>
|
||||
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
|
||||
public sealed class ImplementPropertyTypeAttribute : Attribute
|
||||
{
|
||||
public ImplementPropertyTypeAttribute(string alias)
|
||||
{
|
||||
Alias = alias;
|
||||
}
|
||||
|
||||
public string Alias { get; private set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user