C# Class AccidentalFish.ApplicationSupport.Core.Policies.Implementation.AsynchronousRegularTimer

Inheritance: IAsynchronousRegularTimer
Afficher le fichier Open project: JamesRandall/AccidentalFish.ApplicationSupport Class Usage Examples

Méthodes publiques

Méthode Description
AsynchronousRegularTimer ( ITimerThreadPoolExecuter threadPoolExecuter, IAsynchronousDelay taskDelay, System.TimeSpan interval, bool delayOnExecute ) : System
ExecuteAsync ( Action action, CancellationToken cancellationToken, System.Action shutdownAction = null ) : Task

Method Details

AsynchronousRegularTimer() public méthode

public AsynchronousRegularTimer ( ITimerThreadPoolExecuter threadPoolExecuter, IAsynchronousDelay taskDelay, System.TimeSpan interval, bool delayOnExecute ) : System
threadPoolExecuter ITimerThreadPoolExecuter
taskDelay IAsynchronousDelay
interval System.TimeSpan
delayOnExecute bool
Résultat System

ExecuteAsync() public méthode

public ExecuteAsync ( Action action, CancellationToken cancellationToken, System.Action shutdownAction = null ) : Task
action Action
cancellationToken System.Threading.CancellationToken
shutdownAction System.Action
Résultat Task