init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
18
Framework/Util/StringValueAttribute.cs
Normal file
18
Framework/Util/StringValueAttribute.cs
Normal file
|
@ -0,0 +1,18 @@
|
|||
using System;
|
||||
|
||||
namespace Kreta.Framework.Util
|
||||
{
|
||||
/// <summary>
|
||||
/// Summary description for StringEnum
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Enum | AttributeTargets.Field, AllowMultiple = false)]
|
||||
public sealed class StringValueAttribute : Attribute
|
||||
{
|
||||
public StringValueAttribute(string value)
|
||||
{
|
||||
Value = value;
|
||||
}
|
||||
|
||||
public string Value { get; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue