Enumeration

Enumeration class

Generic enumeration class.

public abstract class Enumeration : IComparable, IEquatable<Enumeration>

Methods

Name Description
CompareTo(object) Compares current object to other.
virtual Equals(Enumeration) Determines whether two object instances are equal.
override Equals(object) Determines whether two object instances are equal.
override GetHashCode() Serves as the default hash function.
override ToString() Returns a string that represents the current object.
static FromDisplayName<T>(string) Returns object by display name.
static FromValue<T>(string) Returns object by key.
static GetAll<T>() Returns all enumeration values.
operator == Equality operator.
operator != Inequality operator.

See Also