Table of Contents

Class ViewRunnableExtensions

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

Extension methods for making any View runnable with typed results.

public static class ViewRunnableExtensions
Inheritance
ViewRunnableExtensions
Inherited Members

Remarks

These extensions provide a fluent API for wrapping views in RunnableWrapper<TView, TResult>, enabling any View to be run as a blocking session without implementing IRunnable<TResult>.

Methods

AsRunnable<TView>(TView)

Converts any View into a runnable without result extraction.

AsRunnable<TView, TResult>(TView, Func<TView, TResult?>)

Converts any View into a runnable with typed result extraction.