Table of Contents

Class PrimeTestClockTimedEvent

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

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

public abstract class PrimeTestClockTimedEvent : PrimeTestClockEvent
Inheritance
PrimeTestClockTimedEvent
Derived
Inherited Members

Remarks

Sealed derivatives (PrimeTestClockNewTimeEvent, PrimeTestClockStartedEvent, PrimeTestClockStoppedEvent) differ only by EventType. Use ClockTime and RunRateTimeSpan for virtual time and runner rate at the moment the event was raised.

Constructors

PrimeTestClockTimedEvent(PrimeTestClockEventType)

Initializes a new instance of the PrimeTestClockTimedEvent class.

PrimeTestClockTimedEvent(PrimeTestClockEventType, DateTimeOffset, TimeSpan?)

Initializes a new instance of the PrimeTestClockTimedEvent class.

Properties

ClockTime

Gets the virtual UTC time carried by this event.

RunRateTimeSpan

Gets the virtual time advanced per real second while the clock is running, or null when the clock is stopped.