C# Class YamuiFramework.Helper.DelayedAction

Simple class to delay an action
Inheritance: IDisposable
Afficher le fichier Open project: jcaillon/3P

Méthodes publiques

Méthode 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

Méthode Description
TimerOnElapsed ( object sender, System.Timers.ElapsedEventArgs elapsedEventArgs ) : void

Method Details

CleanAll() public static méthode

Clean all delayed actions started
public static CleanAll ( ) : void
Résultat void

DelayedAction() public méthode

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

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Stop() public méthode

Stop the recurrent action
public Stop ( ) : void
Résultat void