Class RestartingTimer<T>
- Namespace
- DrawnUi.Models
- Assembly
- DrawnUi.Maui.dll
public class RestartingTimer<T>
Type Parameters
T
- Inheritance
-
RestartingTimer<T>
- Inherited Members
-
- Extension Methods
-
Constructors
RestartingTimer(TimeSpan, Action<T>)
public RestartingTimer(TimeSpan timespan, Action<T> callback)
Parameters
timespan TimeSpan
callback Action<T>
RestartingTimer(uint, Action<T>)
public RestartingTimer(uint ms, Action<T> callback)
Parameters
ms uint
callback Action<T>
Fields
disposed
Field Value
- bool
Properties
Context
public T Context { get; protected set; }
Property Value
- T
IsRunning
public bool IsRunning { get; protected set; }
Property Value
- bool
Methods
Dispose()
Kick(T)
public void Kick(T param)
Parameters
param T
Restart(T)
public void Restart(T param)
Parameters
param T
Start(T)
public void Start(T param)
Parameters
param T
Stop()