Class IdName<T>
Represents an ID with its display name.
public class IdName<T>
Type Parameters
TThe type of the ID.
- Inheritance
-
IdName<T>
- Inherited Members
Constructors
IdName(T, string)
Represents an ID with its display name.
public IdName(T id, string name)
Parameters
idTThe ID.
namestringThe name.
Properties
Id
Gets or sets the ID.
public T Id { get; set; }
Property Value
- T
Name
Gets or sets the name.
public string Name { get; set; }