Table of Contents

Property ResultExtractor

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

ResultExtractor

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

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

Property Value

Func<TView, TResult>

Remarks

This function is called when the popover is hidden to extract the final result. If null, automatic extraction is attempted via IValue<TValue>.

The result is stored in Result and raises ResultChanged.