Constructor TimedEvents
TimedEvents()
Initializes a new instance of TimedEvents with the default system time provider.
public TimedEvents()
TimedEvents(ITimeProvider?)
Initializes a new instance of TimedEvents with the specified time provider.
public TimedEvents(ITimeProvider? timeProvider)
Parameters
timeProviderITimeProviderThe time provider to use for timing. If null, uses GetTimestamp() for high-resolution system time.
Remarks
For production use, pass null or omit to use the default high-resolution timing. For testing, pass a VirtualTimeProvider to enable deterministic time control.