C# Class Cimbalino.Phone.Toolkit.Extensions.EnumExtensions

Provides a set of static (Shared in Visual Basic) methods for Enum instances.
Show file Open project: Cimbalino/Cimbalino-Phone-Toolkit

Public Methods

Method Description
GetNames ( this enumObj ) : IEnumerable

Retrieves an array of the names of the constants in a specified enumeration.

GetValues ( this enumObj ) : IEnumerable

Retrieves an array of the values of the constants in a specified enumeration.

Method Details

GetNames() public static method

Retrieves an array of the names of the constants in a specified enumeration.
public static GetNames ( this enumObj ) : IEnumerable
enumObj this The enumeration.
return IEnumerable

GetValues() public static method

Retrieves an array of the values of the constants in a specified enumeration.
public static GetValues ( this enumObj ) : IEnumerable
enumObj this The enumeration.
return IEnumerable