C# Класс Hourglass.Managers.WakeUpManager

Schedules the computer to wake up when the next timer expires if the computer is not being kept awake while one or more timers is running.
Наследование: Hourglass.Managers.Manager
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Instance WakeUpManager

Открытые методы

Метод Описание
Initialize ( ) : void

Initializes the class.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Disposes the manager.

Приватные методы

Метод Описание
CancelWaitableTimer ( ) : void

Cancels the timer. If the timer has not been set or has already been cancelled, this method does nothing.

GetNextTimerExpiry ( ) : DateTime?

Returns the the next expiry time for any running timer, or null if there are no running timers.

PowerModeChanged ( object sender, Microsoft.Win32.PowerModeChangedEventArgs e ) : void

Invoked when the user suspends or resumes the system.

SetWaitableTimer ( System.DateTime dateTime ) : void

Sets a timer to wake the computer at the specified date and time.

WakeUpManager ( ) : System

Prevents a default instance of the WakeUpManager class from being created.

Описание методов

Dispose() защищенный Метод

Disposes the manager.
protected Dispose ( bool disposing ) : void
disposing bool A value indicating whether this method was invoked by an explicit call to .
Результат void

Initialize() публичный Метод

Initializes the class.
public Initialize ( ) : void
Результат void

Описание свойств

Instance публичное статическое свойство

Singleton instance of the WakeUpManager class.
public static WakeUpManager,Hourglass.Managers Instance
Результат WakeUpManager