Table of Contents

Class AdvancedEnum<T>

Namespace
PushTechnology.DiffusionCore
Assembly
Diffusion.Client.dll

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

[Obsolete("This type will be removed in a future release in favor of simple enums", false)]
public abstract class AdvancedEnum<T>

Type Parameters

T

The type of the enum.

Inheritance
AdvancedEnum<T>
Derived
Inherited Members

Fields

INTERNAL_ENUM

The internal enum value.

public Enum INTERNAL_ENUM

Field Value

Enum

The internal value of the enum.

Properties

Name

Returns the name of this enum.

public string Name { get; }

Property Value

string

The name of this enum.

Methods

ToString()

public override string ToString()

Returns

string

A human readable representation of the value.

ValueOf(string)

Returns the value of this enum.

public static T ValueOf(string name)

Parameters

name string

The name of this enum.

Returns

T

The value of this enum.

Values()

Returns the values of this enum.

public static IEnumerable<T> Values()

Returns

IEnumerable<T>

The enum values.