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.
- Key: The MIDI 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.
- Key: The MIDI note number.
public PresetsWithKeyCombinations(Dictionary<BasicPreset, HashSet<(int Key, int Velocity)>> data)
Parameters
dataDictionary<BasicPreset, HashSet<(int Key, int Velocity)>>
Methods
GetEnumerator()
public PresetsWithKeyCombinations.Enumerator GetEnumerator()
Returns
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)