Table of Contents

Property ResultExtractor

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

ResultExtractor

Gets or sets the function that extracts the result from the wrapped view.

public Func<TView, TResult?>? ResultExtractor { get; set; }

Property Value

Func<TView, TResult>

Remarks

Called when Accept is received. The return value is stored in Result and RequestStop() is called.

If null and TView implements IValue<TValue>, the value is extracted automatically.