Property ElapsedTime
- Namespace
- KZDev.SystemClock.PrimeTime
- Assembly
- KZDev.SystemClock.PrimeTime.dll
ElapsedTime
Returns the time elapsed since the last callback for this registration.
long ElapsedTime { get; }
Property Value
Remarks
Value is in milliseconds. If no callbacks have been made yet, this will return -1.
If the current State is ProcessingCallback, this will return 0 regardless of the number of callbacks that are currently being processed and not yet completed.
Implementations in KZDev.SystemClock.PrimeTime may expose this as TimeSpan;
KZDev.PrimeTime (NodaTime) as Duration. This common contract uses milliseconds to remain
time-type agnostic.