Xtensible.Time.Clock NuGet Package

An easy to use mockable clock.

Pass WallClock to your services in production/dev code and use MockClock in unit tests; or, if you don't want to pass around a clock, do Clock.Default = new MockClock(); in your unit tests.




Got any Xtensible.Time.Clock Question?





Info

Version: 1.1.0
Author(s): Giovanni Galbo
Last Update: Wednesday, June 19, 2019
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/giometrix/Xtensible.Time.Clock
NuGet Url: https://www.nuget.org/packages/Xtensible.Time.Clock


Install
Install-Package Xtensible.Time.Clock
dotnet add package Xtensible.Time.Clock
paket add Xtensible.Time.Clock
Xtensible.Time.Clock Download (Unzip the "nupkg" after downloading)

1 package depend on this package.


Tags



STATS

must-have-score

.3

avg-downloads-per-day

1

days-since-last-release

1773