mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
fix: adds initializer for dictionaries
This commit is contained in:
parent
983b18d25a
commit
2f9038a501
1 changed files with 3 additions and 2 deletions
|
|
@ -11,9 +11,10 @@ namespace PepperDash.Essentials.Core.Config
|
||||||
public class AudioControlPointListItem
|
public class AudioControlPointListItem
|
||||||
{
|
{
|
||||||
[JsonProperty("levelControls")]
|
[JsonProperty("levelControls")]
|
||||||
public Dictionary<string, LevelControlListItem> LevelControls { get; set; }
|
public Dictionary<string, LevelControlListItem> LevelControls { get; set; } = new Dictionary<string, LevelControlListItem>();
|
||||||
|
|
||||||
[JsonProperty("presets")]
|
[JsonProperty("presets")]
|
||||||
public Dictionary<string, PresetListItem> Presets { get; set; }
|
public Dictionary<string, PresetListItem> Presets { get; set; } = new Dictionary<string, PresetListItem>();
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue