Class Identifier<T>
Abstract implementation of IIdentifier that adds the Id field.
public abstract class Identifier<T> : IIdentifier
Type Parameters
T
- Inheritance
-
objectIdentifier<T>
- Implements
- Derived
Remarks
This is largely just for internal use.
Constructors
Identifier(IdType, T)
public Identifier(IdType type, T id)
Parameters
type
IdTypeid
T
Properties
Id
public T Id { get; set; }
Property Value
- T
Type
[JsonConverter(typeof(JsonStringEnumConverter))]
public IdType Type { get; set; }
Property Value
Methods
ToFullString()
public string ToFullString()
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.