Timer |
public class TimerQueue : DisposableBase, ITimerQueue
The TimerQueue type exposes the following members.
Name | Description | |
---|---|---|
TimerQueue | Initializes a new instance of the TimerQueue class. This constructur needs the IHighResolutionClock service to be present. | |
TimerQueue(IHighResolutionClock) | Initializes a new instance of the TimerQueue class. |
Name | Description | |
---|---|---|
CurrentTime | Gets the time that is elapsed during this timer is running. |
Name | Description | |
---|---|---|
AddOrUpdate | ||
Contains | Determines whether the item identified by the token is still in the queue. | |
Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from DisposableBase) | |
Dispose(Boolean) | Releases the unmanaged resources used by the TimerQueue and optionally releases the managed resources (Overrides DisposableBaseDispose(Boolean)) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize |
Finalizes an instance of the DisposableBase class.
(Inherited from DisposableBase) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
ToString | Returns a string that represents the current object. (Inherited from Object) | |
TryAdd | Enqueues an item in the timer queue. | |
TryRemove(Object) | Tries the remove an item identified by a token from the queue. | |
TryRemove(Object, TimeSpan) | Tries the remove an item identified by a token from the queue. | |
TryUpdateTime | Tries to change the due time of an item already in the queue. |