SystemClock
Time related delegates used to support different compilation targets and to improve testability of the code.
Allows the setting of a custom Thread.Sleep implementation for testing.
By default this will use the CancellationToken's WaitHandle.
Allows the setting of a custom async Sleep implementation for testing.
By default this will be a call to Delay taking a CancellationToken
Allows the setting of a custom DateTime.UtcNow implementation for testing.
By default this will be a call to UtcNow
Resets the custom implementations to their defaults.
Should be called during test teardowns.