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

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

Méthodes publiques

Méthode Description
AsynchronousIntervalTimer ( IAsynchronousDelay taskDelay, System.TimeSpan interval, bool delayOnExecute ) : System
ExecuteAsync ( Func function, System.Action shutdownAction = null ) : Task
ExecuteAsync ( Func function, CancellationToken cancellationToken, System.Action shutdownAction = null ) : Task

Method Details

AsynchronousIntervalTimer() public méthode

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

ExecuteAsync() public méthode

public ExecuteAsync ( Func function, System.Action shutdownAction = null ) : Task
function Func
shutdownAction System.Action
Résultat Task

ExecuteAsync() public méthode

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