Files
Umbraco-CMS/src/Umbraco.ModelsBuilder.Embedded/ImplementPropertyTypeAttribute.cs

20 lines
559 B
C#
Raw Normal View History

2019-06-24 11:58:36 +02:00
using System;
namespace Umbraco.ModelsBuilder.Embedded
2019-06-24 11:58:36 +02:00
{
/// <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 class ImplementPropertyTypeAttribute : Attribute
2019-06-24 11:58:36 +02:00
{
public ImplementPropertyTypeAttribute(string alias)
{
Alias = alias;
}
public string Alias { get; private set; }
}
}