Namespace TimeyWimey.Abstractions
Classes
CachingClock
Provides a IClock implementation that caches the result of another clock for short periods.
ClockBase
Base class for the IClock interface, providing some minimal reuse. Do not reference this class directly unless deriving your own clock type.
MockClock
A IClock implementation whose time is provided externally, allowing the returned time to be controlled during automated testing.
SystemClock
A IClock based on the system hardware clock, via System.DateTimeOffset.Now.
Interfaces
IClock
Interface for components that can return the 'current time'.