Class IHostExtensions
- Namespace
 - OneImlx.Terminal.Extensions
 
- Assembly
 - OneImlx.Terminal.dll
 
The IHost extension methods.
public static class IHostExtensions
  - Inheritance
 - 
      
      IHostExtensions
 
- Inherited Members
 
Methods
RunTerminalRouterAsync<TRouting, TContext>(IHost, TContext)
Runs the ITerminalRouter<TContext> asynchronously, blocking the calling thread until a cancellation request.
public static Task RunTerminalRouterAsync<TRouting, TContext>(this IHost host, TContext context) where TRouting : class, ITerminalRouter<TContext> where TContext : TerminalRouterContext
  Parameters
hostIHostThe host.
contextTContextThe routing context for terminal console routing.
Returns
Type Parameters
TRoutingTContext