Struct PresetsWithKeyCombinations

Namespace
SpessaSharp.MIDI.Utils
Assembly
SpessaSharp.dll
  • Key - the preset.
  • Value - A Set:
    • Key: The MIDI note number.
    • Value: The velocity for this note number.
public readonly struct PresetsWithKeyCombinations
Inherited Members

Constructors

PresetsWithKeyCombinations(Dictionary<BasicPreset, HashSet<(int Key, int Velocity)>>)

  • Key - the preset.
  • Value - A Set:
    • Key: The MIDI note number.
    • Value: The velocity for this note number.
public PresetsWithKeyCombinations(Dictionary<BasicPreset, HashSet<(int Key, int Velocity)>> data)

Parameters

data Dictionary<BasicPreset, HashSet<(int Key, int Velocity)>>

Methods

GetEnumerator()

public PresetsWithKeyCombinations.Enumerator GetEnumerator()

Returns

PresetsWithKeyCombinations.Enumerator

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.

TryGetValue(BasicPreset, out HashSet<(int Key, int Velocity)>)

public bool TryGetValue(BasicPreset key, out HashSet<(int Key, int Velocity)> value)

Parameters

key BasicPreset
value HashSet<(int Key, int Velocity)>

Returns

bool