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)
Dependencies
- NETStandard.Library(>= 1.6.1)
Tags
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.