public void ToggleSleep() { if (!isOn) { return; } sleepController.ToggleSleep(); }
public void ToggleSleep() { if (!isSleeping) { return; } sleepControl.ToggleSleep(); }
public void ToggleSleep() { // Desktops cannot be put to sleep unless they're on. if (!IsOn) { return; } SleepControler.ToggleSleep(); }
public void ToggleSleep() { sleepController.ToggleSleep(); }
public void ToggleSleep() => SleepController.ToggleSleep();