Class ApplicationRunnableExtensions
Extension methods for IApplication that enable running any View as a runnable session.
public static class ApplicationRunnableExtensions
- Inheritance
-
ApplicationRunnableExtensions
- Inherited Members
Remarks
These extensions provide convenience methods for wrapping views in RunnableWrapper<TView, TResult> and running them in a single call, similar to how Run<TRunnable>(Func<Exception, bool>?, string?) works.
Methods
- RunView<TView>(IApplication, TView, Func<Exception, bool>?)
Runs any View as a runnable session without result extraction.
- RunView<TView, TResult>(IApplication, TView, Func<TView, TResult?>, Func<Exception, bool>?)
Runs any View as a runnable session, extracting a typed result via a function.