Base class used to identify the classes that derive from ExtendedEnum.
Clients that want to identify which classes derive from the ExtendedEnum can do so, by looking for this base class.
Static Public Member Functions |
|
static Array | GetValues (Type enumType) |
Uses reflection to call the ExtendedEnum's
Values property. |
|
Protected Member Functions |
|
ExtendedEnumBase (int id) | |
Constructor. |
|
Properties |
|
virtual int |
Id [get] |
The numerical Id for this
ExtendedEnum within the enum's set. |
CSharpUtilities::ExtendedEnumBase::ExtendedEnumBase | ( | int | id | ) | [inline, protected] |
Constructor.
id | The id for each value in the ExtendedEnum |
static Array CSharpUtilities::ExtendedEnumBase::GetValues | ( | Type | enumType | ) | [inline, static] |
Uses reflection to call the ExtendedEnum's Values property.
enumType | The ExtendedEnum class type |
virtual int
CSharpUtilities::ExtendedEnumBase::Id [get] |
The numerical Id for this ExtendedEnum within the enum's set.
These Ids are used for ordering the members within the enum.