Class VariablyLabelledObject<T>
Represents a object that is labelled with a name that may variably change.
public class VariablyLabelledObject<T> : LabelledObject<T>
Type Parameters
TThe type of the object value.
- Inheritance
-
VariablyLabelledObject<T>
- Inherited Members
- Extension Methods
Constructors
VariablyLabelledObject(string, T?)
Initializes a new instance of the LabelledObject<T> class.
public VariablyLabelledObject(string label, T? value = default)
Parameters
labelstringThe label of the object.
valueTThe value of the object.
Properties
Label
The label of the object.
public override sealed string Label { get; }
Property Value
VariableLabel
Sets the label of this object to a value.
public string VariableLabel { set; }