Table of Contents

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

host IHost

The host.

context TContext

The routing context for terminal console routing.

Returns

Task

Type Parameters

TRouting
TContext