dotnet / extensions

This repository contains a suite of libraries that provide facilities commonly needed when creating production-ready applications.
MIT License
2.59k stars 744 forks source link

Introduce FakeTimeProvider.AdjustTime #5192

Closed geeknoid closed 4 months ago

geeknoid commented 4 months ago

This addresses #5072 by allowing time to be adjusted forwards and backwards in order to simulate the system's clock being adjusted. Messing around with the time in this way doesn't affect outstanding timers.

Microsoft Reviewers: Open in CodeFlow