Table of Contents

Class Track<TChord>

Namespace
ChartTools
Assembly
ChartTools.dll

Set of chords for a instrument at a certain difficulty

public record Track<TChord> : Track, IEmptyVerifiable, IEquatable<Track>, IEquatable<Track<TChord>> where TChord : IChord

Type Parameters

TChord
Inheritance
Track<TChord>
Implements
IEquatable<Track<TChord>>
Inherited Members
Extension Methods

Properties

Chords

Chords making up the difficulty track.

public List<TChord> Chords { get; }

Property Value

List<TChord>

ParentInstrument

Instrument the track is held in.

public Instrument<TChord>? ParentInstrument { get; init; }

Property Value

Instrument<TChord>

Methods

GetChords()

Gets the chords as a read-only list of the base interface.

protected override IReadOnlyList<IChord> GetChords()

Returns

IReadOnlyList<IChord>

GetInstrument()

Gets the parent instrument as an instance of the base type.

protected override Instrument? GetInstrument()

Returns

Instrument