Class GenericEnumEntry<T>
- Namespace
- Skyline.DataMiner.Net.Ticketing.Validators
- Assembly
- SLNetTypes.dll
Represents an entry of a GenericEnum<T> instance.
[JsonObject(MemberSerialization.OptIn)]
[Serializable]
public class GenericEnumEntry<T> : IGenericEnumEntryType Parameters
- T
- The underlying type of the entry. 
- Inheritance
- 
      
      GenericEnumEntry<T>
- Implements
- Extension Methods
Constructors
- GenericEnumEntry()
- Initializes a new instance of the GenericEnumEntry<T> class. 
Properties
- Name
- Gets or sets the name of the entry. 
- Value
- Gets or sets the value of the entry. 
Methods
- Create(string, T)
- Creates a new entry with the specified name and value. 
- Equals(GenericEnumEntry<T>)
- Determines whether the specified GenericEnumEntry<T> object is equal to the current object. 
- Equals(object)
- Determines whether the specified object is equal to the current object. 
- GetHashCode()
- Calculates the hash code for this object. 
- ToFormattedString()
- Returns a string formatted as follows: name/value. 
Operators
- implicit operator T(GenericEnumEntry<T>)
- Conversion operator from GenericEnumEntry<T> to - T.