Table of Contents

Event SessionBegun

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

Raised when Begin(IRunnable) has been called and has created a new SessionToken.

[Obsolete("The legacy static Application object is going away.")]
public static event EventHandler<SessionTokenEventArgs>? SessionBegun

Returns

EventHandler<SessionTokenEventArgs>
Raised when has been called and has created a new .

Remarks

If StopAfterFirstIteration is true, callers to Begin(IRunnable) must also subscribe to SessionEnded and manually dispose of the SessionToken token when the application is done.