Method | Description | |
---|---|---|
CleanAll ( ) : void |
Clean all recurrent actions started
|
|
Dispose ( ) : void | ||
ReccurentAction ( System.Action actionToDo, long timeLapse, int nbRepeat, bool doActionOnCreate = true ) : System |
Executed ASYNCHRONOUSLY, Allows to do a given action (in a new task) every XXX ms for XXX times by default it does the action when creating this instance, set doActionOnCreate = false to not do it immediatly
|
|
Stop ( ) : void |
Stop the recurrent action
|
Method | Description | |
---|---|---|
OnTick ( object sender, System.Timers.ElapsedEventArgs elapsedEventArgs ) : void |
This method every time the timer ticks
|
public ReccurentAction ( System.Action actionToDo, long timeLapse, int nbRepeat, bool doActionOnCreate = true ) : System | ||
actionToDo | System.Action | |
timeLapse | long | |
nbRepeat | int | |
doActionOnCreate | bool | |
return | System |