Files
2017-03-25 15:29:51 +11:00

20 lines
553 B
C#

using System;
namespace Disco.Services.Authorization.Roles
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property)]
public class ClaimDetailsAttribute : Attribute
{
public string Name { get; set; }
public string Description { get; set; }
public bool Hidden { get; set; }
public ClaimDetailsAttribute(string Name, string Description, bool Hidden = false)
{
this.Name = Name;
this.Description = Description;
this.Hidden = Hidden;
}
}
}