v1.0.0-preview.5
Pre-release
Pre-release
Aligned the public API surface of ManualTimeProvider
with Microsoft.Extensions.Time.Testing.FakeTimeProvider
. This means:
- The
StartTime
property is now calledStart
. - The
ForwardTime
method has been removed (useAdvance
instead). - The
AutoAdvanceAmount
property has been introduced, which will advance time with the specified amount every timeGetUtcNow()
is called. It defaults toTimeSpan.Zero
, which disables auto-advancing.