Class GenericEnumEntry<T>
- Namespace
- Skyline.DataMiner.Net.GenericEnums
- Assembly
- SLNetTypes.dll
Represents a generic enum entry.
[Serializable]
public class GenericEnumEntry<T> : IGenericEnumEntry
Type Parameters
T
The underlying type.
- Inheritance
-
GenericEnumEntry<T>
- Implements
- Extension Methods
Constructors
- GenericEnumEntry()
Initializes a new instance of the GenericEnumEntry<T> class.
- GenericEnumEntry(string, T)
Initializes a new instance of the GenericEnumEntry<T> class using the specified display name and value.
- GenericEnumEntry(string, T, bool)
Initializes a new instance of the GenericEnumEntry<T> class using the specified display name and value.
Properties
- DisplayName
Gets or sets the display name.
- IsHidden
Gets or sets a value indicating whether this entry is hidden.
- Value
Gets or sets the value.
Methods
- Equals(GenericEnumEntry<T>)
Indicates whether the current object is equal to another object of the same type.
- Equals(object)
Determines whether the specified object is equal to the current object.
- GetHashCode()
Calculates the hash code for this object.
- ToString()
Returns a string that represents the current object.