Table of Contents

Class GHLInstrument

Namespace
ChartTools
Assembly
ChartTools.dll
public record GHLInstrument : Instrument<GHLChord>, IEmptyVerifiable, IEquatable<Instrument>, IEquatable<Instrument<GHLChord>>, IEquatable<GHLInstrument>
Inheritance
GHLInstrument
Implements
Inherited Members
Extension Methods

Constructors

GHLInstrument()

public GHLInstrument()

GHLInstrument(GHLInstrument)

protected GHLInstrument(GHLInstrument original)

Parameters

original GHLInstrument

GHLInstrument(GHLInstrumentIdentity)

public GHLInstrument(GHLInstrumentIdentity identity)

Parameters

identity GHLInstrumentIdentity

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

InstrumentIdentity

public GHLInstrumentIdentity InstrumentIdentity { get; init; }

Property Value

GHLInstrumentIdentity

Methods

Equals(GHLInstrument?)

public virtual bool Equals(GHLInstrument? other)

Parameters

other GHLInstrument

Returns

bool

Equals(Instrument<GHLChord>?)

public override sealed bool Equals(Instrument<GHLChord>? other)

Parameters

other Instrument<GHLChord>

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

GetIdentity()

protected override InstrumentIdentity GetIdentity()

Returns

InstrumentIdentity

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(GHLInstrument?, GHLInstrument?)

public static bool operator ==(GHLInstrument? left, GHLInstrument? right)

Parameters

left GHLInstrument
right GHLInstrument

Returns

bool

operator !=(GHLInstrument?, GHLInstrument?)

public static bool operator !=(GHLInstrument? left, GHLInstrument? right)

Parameters

left GHLInstrument
right GHLInstrument

Returns

bool