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.
Exibir arquivo Open project: Dronacharya-Org/Dronacharya

Public Methods

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

Method Details

CancelDelayedAction() public method

public CancelDelayedAction ( string name ) : void
name string
return void

Close() public method

public Close ( ) : void
return void

StartDelayedAction() public method

public StartDelayedAction ( string name, System.Action action, System.TimeSpan delay ) : void
name string
action System.Action
delay System.TimeSpan
return void