Class AdvancedEnum<T>
The base class for 'advanced', that is extended, enums.
Namespace: PushTechnology.DiffusionCore
Assembly: Diffusion.Client.dll
Syntax
public abstract class AdvancedEnum<T> : object
Type Parameters
Name | Description |
---|---|
T | The type of the enum. |
Fields
INTERNAL_ENUM
The internal enum value.
Declaration
public Enum INTERNAL_ENUM
Field Value
Type | Description |
---|---|
Enum | The internal value of the enum. |
Properties
Name
Returns the name of this enum.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
String | The name of this enum. |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | A human readable representation of the value. |
ValueOf(String)
Returns the value of this enum.
Declaration
public static T ValueOf(string name)
Parameters
Type | Name | Description |
---|---|---|
String | name | The name of this enum. |
Returns
Type | Description |
---|---|
T | The value of this enum. |
Values()
Returns the values of this enum.
Declaration
public static IEnumerable<T> Values()
Returns
Type | Description |
---|---|
IEnumerable<T> | The enum values. |