C# Class YamuiFramework.Helper.DelayedAction

Simple class to delay an action
Inheritance: IDisposable
ファイルを表示 Open project: jcaillon/3P

Public Methods

Method Description
CleanAll ( ) : void

Clean all delayed actions started

DelayedAction ( int msDelay, System.Action toDo ) : System

Use this class to do an action after a given delay

Dispose ( ) : void
Stop ( ) : void

Stop the recurrent action

Private Methods

Method Description
TimerOnElapsed ( object sender, System.Timers.ElapsedEventArgs elapsedEventArgs ) : void

Method Details

CleanAll() public static method

Clean all delayed actions started
public static CleanAll ( ) : void
return void

DelayedAction() public method

Use this class to do an action after a given delay
public DelayedAction ( int msDelay, System.Action toDo ) : System
msDelay int
toDo System.Action
return System

Dispose() public method

public Dispose ( ) : void
return void

Stop() public method

Stop the recurrent action
public Stop ( ) : void
return void