C# 클래스 Hourglass.Managers.TimerManager

Manages timers.
상속: Hourglass.Managers.Manager
파일 보기 프로젝트 열기: Dziemborowicz/Hourglass

공개 프로퍼티들

프로퍼티 타입 설명
Instance TimerManager

공개 메소드들

메소드 설명
Add ( Timer timer ) : void

Add a new timer.

ClearResumableTimers ( ) : void

Clears the ResumableTimers.

Initialize ( ) : void

Initializes the class.

Persist ( ) : void

Persists the state of the class.

Remove ( IEnumerable collection ) : void

Removes the timer elements of the specified collection.

Remove ( Timer timer ) : void

Remove an existing timer.

비공개 메소드들

메소드 설명
IsBoundToWindow ( Timer timer ) : bool

Returns a value indicating whether a timer is bound to any TimerWindow.

TimerManager ( ) : System

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

메소드 상세

Add() 공개 메소드

Add a new timer.
If the has already been added. ///
public Add ( Timer timer ) : void
timer Hourglass.Timing.Timer A .
리턴 void

ClearResumableTimers() 공개 메소드

Clears the ResumableTimers.
public ClearResumableTimers ( ) : void
리턴 void

Initialize() 공개 메소드

Initializes the class.
public Initialize ( ) : void
리턴 void

Persist() 공개 메소드

Persists the state of the class.
public Persist ( ) : void
리턴 void

Remove() 공개 메소드

Removes the timer elements of the specified collection.
public Remove ( IEnumerable collection ) : void
collection IEnumerable A collection of timers to remove.
리턴 void

Remove() 공개 메소드

Remove an existing timer.
If the timer had not been added previously or has already been /// removed.
public Remove ( Timer timer ) : void
timer Hourglass.Timing.Timer A .
리턴 void

프로퍼티 상세

Instance 공개적으로 정적으로 프로퍼티

Singleton instance of the TimerManager class.
public static TimerManager,Hourglass.Managers Instance
리턴 TimerManager