Class AdvancedEnum<T>

The base class for 'advanced', that is extended, enums.

Inheritance
System.Object
AdvancedEnum<T>
TopicUpdateType
CodeEnum<TEnum, TCode>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: PushTechnology.DiffusionCore
Assembly: Diffusion.Client.dll
Syntax
[Obsolete("This type will be removed in a future release in favor of simple enums", false)]
public abstract class AdvancedEnum<T>
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
System.Enum

The internal value of the enum.

Properties

Name

Returns the name of this enum.

Declaration
public string Name { get; }
Property Value
Type Description
System.String

The name of this enum.

Methods

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String

A human readable representation of the value.

Overrides
System.Object.ToString()

ValueOf(String)

Returns the value of this enum.

Declaration
public static T ValueOf(string name)
Parameters
Type Name Description
System.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
System.Collections.Generic.IEnumerable<T>

The enum values.

Back to top