C# Class withSIX.Core.Helpers.TimerWithElapsedCancellationAsync

Inheritance: Timer
Afficher le fichier Open project: SIXNetworks/withSIX.Desktop Class Usage Examples

Méthodes publiques

Méthode Description
TimerWithElapsedCancellationAsync ( System.TimeSpan time, Func onElapsedNonBool, System.Action onDisposed = null ) : System
TimerWithElapsedCancellationAsync ( System.TimeSpan time, Func onElapsed, System.Action onDisposed = null ) : System
TimerWithElapsedCancellationAsync ( double time, Func onElapsedNonBool, System.Action onDisposed = null ) : System
TimerWithElapsedCancellationAsync ( double time, Func onElapsed, System.Action onDisposed = null ) : System

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
Wrap ( Func task ) : Task

Method Details

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

TimerWithElapsedCancellationAsync() public méthode

public TimerWithElapsedCancellationAsync ( System.TimeSpan time, Func onElapsedNonBool, System.Action onDisposed = null ) : System
time System.TimeSpan
onElapsedNonBool Func
onDisposed System.Action
Résultat System

TimerWithElapsedCancellationAsync() public méthode

public TimerWithElapsedCancellationAsync ( System.TimeSpan time, Func onElapsed, System.Action onDisposed = null ) : System
time System.TimeSpan
onElapsed Func
onDisposed System.Action
Résultat System

TimerWithElapsedCancellationAsync() public méthode

public TimerWithElapsedCancellationAsync ( double time, Func onElapsedNonBool, System.Action onDisposed = null ) : System
time double
onElapsedNonBool Func
onDisposed System.Action
Résultat System

TimerWithElapsedCancellationAsync() public méthode

public TimerWithElapsedCancellationAsync ( double time, Func onElapsed, System.Action onDisposed = null ) : System
time double
onElapsed Func
onDisposed System.Action
Résultat System