C# Class CachingFramework.Redis.Contracts.TextAttribute

Inheritance: System.Attribute
Show file Open project: thepirat000/CachingFramework.Redis

Public Methods

Method Description
GetEnumText ( Enum value ) : string

Returns the Text abbreviation for an enum value

TextAttribute ( string text ) : System

Initializes a new instance of the TextAttribute class.

Method Details

GetEnumText() public static method

Returns the Text abbreviation for an enum value
public static GetEnumText ( Enum value ) : string
value System.Enum The enum value.
return string

TextAttribute() public method

Initializes a new instance of the TextAttribute class.
public TextAttribute ( string text ) : System
text string The Text.
return System