public bool TryProcess(SwitchName states, SwitchName flashingStates) =>
 _switchService.TryProcess(states, flashingStates);
 public ToggleSwitchCommand(SwitchName @switch, bool value)
 {
     Switch = @switch;
     Value  = value;
 }
 public bool IsToggled(SwitchName stateVal) =>
 PendingSwitches.TryGetValue(stateVal, out var val) ? val.Value : ToggledSwitches.Contains(stateVal);