....
This commit is contained in:
13
Back/Common/ExclusiveAttribute.cs
Normal file
13
Back/Common/ExclusiveAttribute.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace Back.Common
|
||||
{
|
||||
public class ExclusiveAttribute
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Method | AttributeTargets.Class,
|
||||
AllowMultiple = false)]
|
||||
public class ColorAttribute : Attribute
|
||||
{
|
||||
public string _ColorHex;
|
||||
public ColorAttribute(string ColorHex) => _ColorHex = ColorHex;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user