/// <summary> /// Registers the switch. /// </summary> /// <param name="toggle">Toggle.</param> public void RegisterSwitch(Switch toggle) { Switches.Add(toggle); }
/// <summary> /// Unregisters the switch. /// </summary> /// <param name="currentSwitch">Current switch.</param> public void UnregisterSwitch(Switch currentSwitch) { Switches.Remove(currentSwitch); }