Class StandardInstrument
- Namespace
- ChartTools
- Assembly
- ChartTools.dll
public record StandardInstrument : Instrument<StandardChord>, IEmptyVerifiable, IEquatable<Instrument>, IEquatable<Instrument<StandardChord>>, IEquatable<StandardInstrument>
- Inheritance
-
StandardInstrument
- Implements
- Inherited Members
- Extension Methods
Constructors
StandardInstrument()
public StandardInstrument()
StandardInstrument(StandardInstrument)
protected StandardInstrument(StandardInstrument original)
Parameters
originalStandardInstrument
StandardInstrument(StandardInstrumentIdentity)
public StandardInstrument(StandardInstrumentIdentity identity)
Parameters
identityStandardInstrumentIdentity
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
InstrumentIdentity
public StandardInstrumentIdentity InstrumentIdentity { get; init; }
Property Value
MidiOrigin
Format of lead guitar and bass. Not applicable to other instruments.
public MidiInstrumentOrigin MidiOrigin { get; set; }
Property Value
Methods
Equals(Instrument<StandardChord>?)
public override sealed bool Equals(Instrument<StandardChord>? other)
Parameters
otherInstrument<StandardChord>
Returns
Equals(StandardInstrument?)
public virtual bool Equals(StandardInstrument? other)
Parameters
otherStandardInstrument
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
GetIdentity()
protected override InstrumentIdentity GetIdentity()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(StandardInstrument?, StandardInstrument?)
public static bool operator ==(StandardInstrument? left, StandardInstrument? right)
Parameters
leftStandardInstrumentrightStandardInstrument
Returns
operator !=(StandardInstrument?, StandardInstrument?)
public static bool operator !=(StandardInstrument? left, StandardInstrument? right)
Parameters
leftStandardInstrumentrightStandardInstrument