Class EnumExtensions
Holds extension methods for System.Enum class.
Inheritance
System.Object
EnumExtensions
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public static class EnumExtensions : Object
Methods
ConvertTo<T>(Object)
Converts value to the enumerator of type T.
Declaration
public static T ConvertTo<T>(object value)
Parameters
System.Object
value
Value to be converted. |
Returns
T
Value converted to the enumerator type. |
Type Parameters
T
Type of the enumerator to convert to. |
GetValues(Type)
Retrieves an array of the values of the constants in a specified enumeration.
Declaration
public static object[] GetValues(Type enumType)
Parameters
System.Type
enumType
An enumeration type. |
Returns
System.Object[]
|