Property TimeProvider
TimeProvider
Gets or sets the time provider function used to obtain the current time in ticks.
public Func<long> TimeProvider { get; set; }
Property Value
- Func<long>
A Func<TResult> that returns the current time in Ticks. Override this for deterministic testing.