Initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
|
||||
namespace NaughtyAttributes
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
|
||||
public class LabelAttribute : MetaAttribute
|
||||
{
|
||||
public string Label { get; private set; }
|
||||
|
||||
public LabelAttribute(string label)
|
||||
{
|
||||
Label = label;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user