Table of Contents

Class VariablyLabelledObject<T>

Namespace
Garyon.Objects
Assembly
Garyon.dll

Represents a object that is labelled with a name that may variably change.

public class VariablyLabelledObject<T> : LabelledObject<T>

Type Parameters

T

The 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

label string

The label of the object.

value T

The value of the object.

Properties

Label

The label of the object.

public override sealed string Label { get; }

Property Value

string

VariableLabel

Sets the label of this object to a value.

public string VariableLabel { set; }

Property Value

string