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
파일 보기 프로젝트 열기: Dziemborowicz/Hourglass

공개 프로퍼티들

프로퍼티 타입 설명
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