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
protected GHLInstrument(GHLInstrument original)
Parameters
original GHLInstrument
public GHLInstrument(GHLInstrumentIdentity identity)
Parameters
identity GHLInstrumentIdentity
Properties
protected override Type EqualityContract { get; }
Property Value
- Type
public GHLInstrumentIdentity InstrumentIdentity { get; init; }
Property Value
- GHLInstrumentIdentity
Methods
public virtual bool Equals(GHLInstrument? other)
Parameters
other GHLInstrument
Returns
- bool
public override sealed bool Equals(Instrument<GHLChord>? other)
Parameters
other Instrument<GHLChord>
Returns
- bool
public override bool Equals(object? obj)
Parameters
obj object
Returns
- bool
public override int GetHashCode()
Returns
- int
protected override InstrumentIdentity GetIdentity()
Returns
- InstrumentIdentity
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builder StringBuilder
Returns
- bool
public override string ToString()
Returns
- string
Operators
public static bool operator ==(GHLInstrument? left, GHLInstrument? right)
Parameters
left GHLInstrument
right GHLInstrument
Returns
- bool
public static bool operator !=(GHLInstrument? left, GHLInstrument? right)
Parameters
left GHLInstrument
right GHLInstrument
Returns
- bool