C# Class Aegis.Calculate.IntervalTimer

Inheritance: IDisposable
Afficher le fichier Open project: SyncZone/AegisFramework Class Usage Examples

Méthodes publiques

Свойство Type Description
Interval int
Name string
Timers NamedObjectIndexer

Méthodes publiques

Méthode Description
Dispose ( ) : void
IntervalTimer ( int interval, System.Action action ) : System
IntervalTimer ( string name, int interval, System.Action action ) : System
SetCallCount ( int count ) : IntervalTimer

호출 횟수를 지정합니다.

Start ( ) : void
StartAfter ( int delay ) : void
Stop ( ) : void

Private Methods

Méthode Description
DisposeAll ( ) : void
TimerThreadRunner ( ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

IntervalTimer() public méthode

public IntervalTimer ( int interval, System.Action action ) : System
interval int
action System.Action
Résultat System

IntervalTimer() public méthode

public IntervalTimer ( string name, int interval, System.Action action ) : System
name string
interval int
action System.Action
Résultat System

SetCallCount() public méthode

호출 횟수를 지정합니다.
public SetCallCount ( int count ) : IntervalTimer
count int -1을 설정하면 무한호출이 되며, 1 이상의 값은 횟수를 지정합니다. 0은 허용되지 않습니다.
Résultat IntervalTimer

Start() public méthode

public Start ( ) : void
Résultat void

StartAfter() public méthode

public StartAfter ( int delay ) : void
delay int
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

Property Details

Interval public_oe property

public int Interval
Résultat int

Name public_oe property

public string Name
Résultat string

Timers public_oe static_oe property

public static NamedObjectIndexer Timers
Résultat NamedObjectIndexer