Table of Contents

Class PrimeTestClockServiceCollectionExtensions

Namespace
KZDev.SystemClock.PrimeTime.Testing
Assembly
KZDev.SystemClock.PrimeTime.Testing.dll

Extension methods for adding PrimeTime virtual test clock services to an IServiceCollection.

public static class PrimeTestClockServiceCollectionExtensions
Inheritance
PrimeTestClockServiceCollectionExtensions

Methods

AddPrimeTestClock(IServiceCollection)

Adds the default virtual test clock implementation (PrimeTestClock) as a singleton in the service collection, registers IPrimeClock and IPrimeTime to resolve to the same singleton test clock.