Empeld
Empeld plugin documentation.
|
Object that can act as any enumeration More...
Public Member Functions | |
AnyEnum () | |
T | ToEnum< T > () |
Convert AnyEnum to a typed enumeration More... | |
T | ToOtherEnum< T > () |
Convert AnyEnum to a typed enumeration, though not necessarily of the same type as the original type More... | |
bool | Is (Enum other) |
Determines whether this instance is the same as other. More... | |
bool | Equals (AnyEnum other) |
Determines whether the specified pluginbase.Helpers.Data.AnyEnum is equal to the current pluginbase.Helpers.Data.AnyEnum. More... | |
bool | Equals (Enum other) |
Determines whether the specified System.Enum is equal to the current pluginbase.Helpers.Data.AnyEnum. More... | |
override bool | Equals (object obj) |
Determines whether the specified System.Object is equal to the current pluginbase.Helpers.Data.AnyEnum. More... | |
override int | GetHashCode () |
Serves as a hash function for a pluginbase.Helpers.Data.AnyEnum object. More... | |
override string | ToString () |
Returns a System.String that represents the current pluginbase.Helpers.Data.AnyEnum. More... | |
Static Public Member Functions | |
static implicit | operator AnyEnum (Enum @enum) |
Convert an enum to an AnyEnum instance More... | |
static implicit | operator string (AnyEnum any) |
Convert an AnyEnum instance to a string More... | |
static | operator AnyEnum (string str) |
Convert a string to an anyenum instance More... | |
static AnyEnum | FromString (string str) |
Get an AnyEnum instance from a previous ToString More... | |
static AnyEnum | Impersonate (Type type, string val) |
Impersonate an enumeration. Only null-check validation More... | |
static AnyEnum | Impersonate (string typeName, string val) |
Impersonate an enumeration. Only null-check validation More... | |
static bool | operator== (AnyEnum left, AnyEnum right) |
Checks if the left enum is equivilant to the right More... | |
static bool | operator== (AnyEnum left, Enum right) |
Checks if the left enum is equivilant to the right More... | |
static bool | operator== (Enum left, AnyEnum right) |
Checks if the left enum is equivilant to the right More... | |
static bool | operator!= (AnyEnum left, AnyEnum right) |
Checks if the left enum is not equivilant to the right More... | |
static bool | operator!= (AnyEnum left, Enum right) |
Checks if the left enum is not equivilant to the right More... | |
static bool | operator!= (Enum left, AnyEnum right) |
Checks if the left enum is not equivilant to the right More... | |
Object that can act as any enumeration
Attribute: TypeConverter(typeof(AnyEnumTypeConverter))
bool pluginbase.Helpers.Data.AnyEnum.Equals | ( | AnyEnum | other | ) |
Determines whether the specified pluginbase.Helpers.Data.AnyEnum is equal to the current pluginbase.Helpers.Data.AnyEnum.
other | The pluginbase.Helpers.Data.AnyEnum to compare with the current pluginbase.Helpers.Data.AnyEnum. |
true
if the specified pluginbase.Helpers.Data.AnyEnum is equal to the current pluginbase.Helpers.Data.AnyEnum; otherwise, false
.bool pluginbase.Helpers.Data.AnyEnum.Equals | ( | Enum | other | ) |
Determines whether the specified System.Enum is equal to the current pluginbase.Helpers.Data.AnyEnum.
other | The System.Enum to compare with the current pluginbase.Helpers.Data.AnyEnum. |
true
if the specified System.Enum is equal to the current pluginbase.Helpers.Data.AnyEnum; otherwise, false
.override bool pluginbase.Helpers.Data.AnyEnum.Equals | ( | object | obj | ) |
Determines whether the specified System.Object is equal to the current pluginbase.Helpers.Data.AnyEnum.
obj | The System.Object to compare with the current pluginbase.Helpers.Data.AnyEnum. |
true
if the specified System.Object is equal to the current pluginbase.Helpers.Data.AnyEnum; otherwise, false
.
|
static |
override int pluginbase.Helpers.Data.AnyEnum.GetHashCode | ( | ) |
Serves as a hash function for a pluginbase.Helpers.Data.AnyEnum object.
|
static |
Impersonate an enumeration. Only null-check validation
type | Type. |
val | Value. |
|
static |
Impersonate an enumeration. Only null-check validation
typeName | Type full name. |
val | Value. |
bool pluginbase.Helpers.Data.AnyEnum.Is | ( | Enum | other | ) |
Determines whether this instance is the same as other.
true
if this instance is other; otherwise, false
.other | Other. |
|
static |
Convert an enum to an AnyEnum instance
|
explicitstatic |
Convert a string to an anyenum instance
|
static |
Convert an AnyEnum instance to a string
|
static |
|
static |
|
static |
|
static |
T pluginbase.Helpers.Data.AnyEnum.ToEnum< T > | ( | ) |
T pluginbase.Helpers.Data.AnyEnum.ToOtherEnum< T > | ( | ) |
Convert AnyEnum to a typed enumeration, though not necessarily of the same type as the original type
T | The enumeration type. |
override string pluginbase.Helpers.Data.AnyEnum.ToString | ( | ) |
Returns a System.String that represents the current pluginbase.Helpers.Data.AnyEnum.