Table of Contents

Class InstrumentSet

Namespace
ChartTools
Assembly
ChartTools.dll

Set of all instruments

public class InstrumentSet : IEnumerable<Instrument>, IEnumerable
Inheritance
InstrumentSet
Implements
Inherited Members
Extension Methods

Properties

Bass

Set of bass tracks

public StandardInstrument? Bass { get; set; }

Property Value

StandardInstrument

CoopGuitar

Set of coop guitar tracks

public StandardInstrument? CoopGuitar { get; set; }

Property Value

StandardInstrument

Drums

Set of drums tracks

public Drums? Drums { get; set; }

Property Value

Drums

GHLBass

Set of Guitar Hero Live bass tracks

public GHLInstrument? GHLBass { get; set; }

Property Value

GHLInstrument

GHLGuitar

Set of Guitar Hero Live guitar tracks

public GHLInstrument? GHLGuitar { get; set; }

Property Value

GHLInstrument

Keys

Set of keyboard tracks

public StandardInstrument? Keys { get; set; }

Property Value

StandardInstrument

LeadGuitar

Set of lead guitar tracks

public StandardInstrument? LeadGuitar { get; set; }

Property Value

StandardInstrument

RhythmGuitar

Set of rhythm guitar tracks

public StandardInstrument? RhythmGuitar { get; set; }

Property Value

StandardInstrument

Methods

Existing()

public IEnumerable<Instrument> Existing()

Returns

IEnumerable<Instrument>

Get(GHLInstrumentIdentity)

Gets property value for an Instrument<TChord> from a GHLInstrumentIdentity enum value.

public GHLInstrument? Get(GHLInstrumentIdentity instrument)

Parameters

instrument GHLInstrumentIdentity

Instrument to get

Returns

GHLInstrument

Instance of Instrument<TChord> where TChord is GHLChord from the Song.

Get(InstrumentIdentity)

Gets property value for an Instrument from a InstrumentIdentity enum value.

public Instrument? Get(InstrumentIdentity instrument)

Parameters

instrument InstrumentIdentity

Instrument to get

Returns

Instrument

Instance of Instrument from the Song

Get(StandardInstrumentIdentity)

Gets property value for an Instrument<TChord> from a StandardInstrumentIdentity enum value.

public StandardInstrument? Get(StandardInstrumentIdentity instrument)

Parameters

instrument StandardInstrumentIdentity

Instrument to get

Returns

StandardInstrument

Instance of Instrument<TChord> where TChord is StandardChord from the Song.

GetEnumerator()

Returns an enumerator that iterates through the collection.

public IEnumerator<Instrument> GetEnumerator()

Returns

IEnumerator<Instrument>

An enumerator that can be used to iterate through the collection.

Set(Instrument)

public void Set(Instrument instrument)

Parameters

instrument Instrument