C# Class GoogleTranslateNET.Misc.ExtensionMethods

Mostra file Open project: Genbox/GoogleTranslate.NET

Public Methods

Method Description
GetStringValue ( this value ) : string

Will get the string value for a given enums value, this will only work if you assign the StringValue attribute to the items in your enum. Source: http://weblogs.asp.net/stefansedich/archive/2008/03/12/enum-with-string-values-in-c.aspx

Method Details

GetStringValue() public static method

Will get the string value for a given enums value, this will only work if you assign the StringValue attribute to the items in your enum. Source: http://weblogs.asp.net/stefansedich/archive/2008/03/12/enum-with-string-values-in-c.aspx
public static GetStringValue ( this value ) : string
value this
return string