Table of Contents

Constructor TimedEvents

Namespace
Terminal.Gui.App
Assembly
Terminal.Gui.dll

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

timeProvider ITimeProvider

The 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.