Table of Contents

Namespace KZDev.PrimeTime.Testing

Classes

PrimeTestClock

NodaTime partial of PrimeTestClock: NodaTime.Instant storage, zone-aware "now" surfaces, and NodaTime.Duration overloads that forward to the shared march and runner implementation.

PrimeTestClockEvent

Base type for observability events raised on ClockEvents.

PrimeTestClockNewTimeEvent

PrimeTestClockTimedEvent raised when virtual time advances to a new instant.

PrimeTestClockServiceCollectionExtensions

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

PrimeTestClockStartedEvent

PrimeTestClockTimedEvent raised when the automatic runner starts from a stopped state.

PrimeTestClockStoppedEvent

PrimeTestClockTimedEvent raised after Stop() stops a running clock.

PrimeTestClockTimedEvent

PrimeTestClockEvent that carries virtual clock time and an optional runner rate.

PrimeTestTimeBase

NodaTime virtual instant storage, zone mapping, and Noda-specific surface for PrimeTestTimeBase.

Interfaces

IPrimeTestClock

NodaTime-specific test clock members: SetInstant(Instant), SetLocalTime(LocalDateTime), and NodaTime.Duration-based Advance(Duration), RunFor(Duration), and Start(Duration?) overloads.

IPrimeTestTime

Extends IPrimeTime with test-controlled time support for clock implementations used in tests.

Enums

PrimeTestClockEventType

Discriminator for kinds of PrimeTestClockEvent raised on ClockEvents.

Delegates

PrimeTestClockEventHandler

Represents the method that handles ClockEvents.