C# Class Aegis.Calculate.IntervalTimer

Inheritance: IDisposable
Show file Open project: SyncZone/AegisFramework Class Usage Examples

Public Properties

Property Type Description
Interval int
Name string
Timers NamedObjectIndexer

Public Methods

Method 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

Method Description
DisposeAll ( ) : void
TimerThreadRunner ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

IntervalTimer() public method

public IntervalTimer ( int interval, System.Action action ) : System
interval int
action System.Action
return System

IntervalTimer() public method

public IntervalTimer ( string name, int interval, System.Action action ) : System
name string
interval int
action System.Action
return System

SetCallCount() public method

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

Start() public method

public Start ( ) : void
return void

StartAfter() public method

public StartAfter ( int delay ) : void
delay int
return void

Stop() public method

public Stop ( ) : void
return void

Property Details

Interval public property

public int Interval
return int

Name public property

public string Name
return string

Timers public static property

public static NamedObjectIndexer Timers
return NamedObjectIndexer