Skip to main content
TimeScheduler package icon

TimeScheduler

This is a shim for the upcoming `System.TimeProvider` API coming in .NET 8. It includes a test version of the `TimeProvider`, named `ManualTimeProvider`, that allows you to control the progress of time during testing deterministically. **NOTE:** Originally, this library provided its own abstraction, `ITimeScheduler` and related types, `DefaultScheduler` and `TestScheduler`. These are now considered obsolete.

Total Downloads
7.4K
7,357
Published
Apr 25, 2023
Latest stable version

Install

.NET CLI
dotnet add package TimeScheduler --version 0.7.0
Package Manager Console
Install-Package TimeScheduler -Version 0.7.0
PackageReference
<PackageReference Include="TimeScheduler" Version="0.7.0" />

Frameworks

net6.0 .NETStandard2.0

Dependencies

[4.5.4, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

NuGet marks this package as deprecated and points to TimeProviderExtensions as an alternative.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.