Table of Contents

Class PrimeTestClockTimedEvent

Namespace
KZDev.PrimeTime.Testing
Assembly
KZDev.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, Instant, Duration?)

Initializes a new instance of the PrimeTestClockTimedEvent class.

Properties

ClockInstant

Gets the virtual instant (UTC) carried by this event.

ClockTime

Gets the virtual UTC time carried by this event.

RunRateDuration

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

RunRateTimeSpan

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