C# Class LogViewer.Utilities.DelayedActions

This class provides a delayed action that has a name. If the same named action is started multiple times before the delay if fires the action only once.
Afficher le fichier Open project: Dronacharya-Org/Dronacharya

Méthodes publiques

Méthode Description
CancelDelayedAction ( string name ) : void
Close ( ) : void
StartDelayedAction ( string name, System.Action action, System.TimeSpan delay ) : void

Method Details

CancelDelayedAction() public méthode

public CancelDelayedAction ( string name ) : void
name string
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

StartDelayedAction() public méthode

public StartDelayedAction ( string name, System.Action action, System.TimeSpan delay ) : void
name string
action System.Action
delay System.TimeSpan
Résultat void