18 lines
402 B
C#
18 lines
402 B
C#
using System;
|
|
|
|
namespace GoogleTranslateNET.Misc
|
|
{
|
|
/// <summary>
|
|
/// This attribute is used to represent a string value
|
|
/// for a value in an enum.
|
|
/// </summary>
|
|
public class StringValueAttribute : Attribute
|
|
{
|
|
public string StringValue { get; private set; }
|
|
|
|
public StringValueAttribute(string value)
|
|
{
|
|
StringValue = value;
|
|
}
|
|
}
|
|
} |