Provides the number of elements in an enum and some conversion and enumeration methods.
View code on GitHub
Inheritance Hierarchy
DeltaEngine.Extensions EnumExtensions
Namespace: DeltaEngine.Extensions
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The EnumExtensions type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetCount(Enum) | ||
GetCount EnumType | ||
GetEnumValues(Enum) | ||
GetEnumValues EnumType | ||
GetIndex T | ||
TryParse T |
Tries to convert any text to a enum, if it fails defaultValue is returned. If you know the
text will be in the correct format use .
Convert T (String)View code on GitHub |
See Also