Helper class for working with 'extended' enums using StringValueAttribute attributes.
Inheritance Hierarchy
RegawMODStringEnum
Namespace: RegawMOD
Assembly: AndroidLib (in AndroidLib.dll) Version: 1.5.2.0 (1.5.2.0)
Syntax
The StringEnum type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() ![]() | StringEnum | |
![]() | StringEnum |
Creates a new StringEnum instance.
|
Methods
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetListValues |
Gets the values as a 'bindable' list datasource.
|
![]() ![]() | GetStringValue(Enum) |
Gets a string value for a particular enum value.
|
![]() | GetStringValue(String) |
Gets the string value associated with the given enum value.
|
![]() | GetStringValues |
Gets the string values associated with the enum.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsStringDefined(String) |
Return the existence of the given string value within the enum.
|
![]() | IsStringDefined(String, Boolean) |
Return the existence of the given string value within the enum.
|
![]() ![]() | IsStringDefined(Type, String) |
Return the existence of the given string value within the enum.
|
![]() ![]() | IsStringDefined(Type, String, Boolean) |
Return the existence of the given string value within the enum.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | Parse(Type, String) |
Parses the supplied enum and string value to find an associated enum value (case sensitive).
|
![]() ![]() | Parse(Type, String, Boolean) |
Parses the supplied enum and string value to find an associated enum value.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
![]() | _enumType | |
![]() ![]() | _stringValues |
Properties
Name | Description | |
---|---|---|
![]() | EnumType |
Gets the underlying enum type for this instance.
|
See Also