Table of Contents

Property Result

Namespace
Terminal.Gui.ViewBase
Assembly
Terminal.Gui.dll

Result

Gets or sets the result data extracted when the session was accepted, or null if not accepted.

public TResult? Result { get; set; }

Property Value

TResult

Remarks

Implementations should set this in the RaiseIsRunningChanging(bool, bool) method (when stopping, i.e., newIsRunning == false) by extracting data from views before they are disposed.

null indicates the session was stopped without accepting (ESC key, close without action). Non-null contains the type-safe result data.