Constructor PrimeTestClockTimedEvent
- Namespace
- KZDev.SystemClock.PrimeTime.Testing
- Assembly
- KZDev.SystemClock.PrimeTime.Testing.dll
PrimeTestClockTimedEvent(PrimeTestClockEventType, DateTimeOffset, TimeSpan?)
Initializes a new instance of the PrimeTestClockTimedEvent class.
protected PrimeTestClockTimedEvent(PrimeTestClockEventType eventType, DateTimeOffset clockTime, TimeSpan? runRateTimeSpan)
Parameters
eventTypePrimeTestClockEventTypeThe kind of clock event.
clockTimeDateTimeOffsetThe virtual UTC time carried by this event. Non-zero offsets are normalized to UTC (zero offset).
runRateTimeSpanTimeSpan?The virtual time advanced per real second while the clock is running, or null when the clock is stopped.
PrimeTestClockTimedEvent(PrimeTestClockEventType)
Initializes a new instance of the PrimeTestClockTimedEvent class.
protected PrimeTestClockTimedEvent(PrimeTestClockEventType eventType)
Parameters
eventTypePrimeTestClockEventTypeThe kind of clock event.