Table of Contents

Property FrameworkOwnedRunnable

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

FrameworkOwnedRunnable

Gets or sets the runnable that was created by Run<TRunnable>(Func<Exception, bool>?) for automatic disposal.

IRunnable? FrameworkOwnedRunnable { get; set; }

Property Value

IRunnable

Remarks

When Run<TRunnable>(Func<Exception, bool>?) creates a runnable instance, it stores it here so Shutdown() can automatically dispose it and extract its result.

This property is null if Run(IRunnable, Func<Exception, bool>?) was used with an externally-created runnable.