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

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

Méthodes publiques

Méthode 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 méthode

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

GetValues() public static méthode

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