2019-06-24 11:58:36 +02:00
|
|
|
|
using System;
|
|
|
|
|
|
|
2019-10-29 00:25:03 +11:00
|
|
|
|
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>
|
2020-09-09 12:46:23 +02:00
|
|
|
|
[AttributeUsage(AttributeTargets.Property , AllowMultiple = false, Inherited = false)]
|
2020-01-24 09:20:16 +01:00
|
|
|
|
public class ImplementPropertyTypeAttribute : Attribute
|
2019-06-24 11:58:36 +02:00
|
|
|
|
{
|
|
|
|
|
|
public ImplementPropertyTypeAttribute(string alias)
|
|
|
|
|
|
{
|
|
|
|
|
|
Alias = alias;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public string Alias { get; private set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|