Class RecoveredEventArgs
- Namespace
- SharpConsoleUI.Core
- Assembly
- SharpConsoleUI.dll
Raised on the UI thread when the main loop recovers after a stall. Safe to touch the UI.
public sealed class RecoveredEventArgs : EventArgs
- Inheritance
-
RecoveredEventArgs
- Inherited Members
- Extension Methods
Constructors
RecoveredEventArgs(TimeSpan, DateTime, bool)
Initializes a new instance of the RecoveredEventArgs class.
public RecoveredEventArgs(TimeSpan wasStalledFor, DateTime timestampUtc, bool fullRefresh)
Parameters
Properties
FullRefresh
When true (default = WatchdogOptions.FullRefreshOnRecovery), the system performs a full-screen repaint after the event returns to clear any stray terminal output. Set false to skip it.
public bool FullRefresh { get; set; }
Property Value
TimestampUtc
UTC timestamp when recovery was detected.
public DateTime TimestampUtc { get; }
Property Value
WasStalledFor
Total time the main loop was stalled before it recovered.
public TimeSpan WasStalledFor { get; }