C# Class withSIX.Core.Helpers.TimerWithElapsedCancellationAsync

Inheritance: Timer
Mostrar archivo Open project: SIXNetworks/withSIX.Desktop Class Usage Examples

Public Methods

Method 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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
Wrap ( Func task ) : Task

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

TimerWithElapsedCancellationAsync() public method

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

TimerWithElapsedCancellationAsync() public method

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

TimerWithElapsedCancellationAsync() public method

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

TimerWithElapsedCancellationAsync() public method

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