Class TerminalCustomRouter
The default ITerminalRouter<TContext> for custom routing.
public abstract class TerminalCustomRouter : ITerminalRouter<TerminalCustomRouterContext>
- Inheritance
-
TerminalCustomRouter
- Implements
- Inherited Members
Properties
IsRunning
Gets a value indicating whether the console terminal is running.
public abstract bool IsRunning { get; }
Property Value
Name
The terminal router name.
public abstract string Name { get; }
Property Value
Methods
RunAsync(TerminalCustomRouterContext)
Routes to a custom service implementation.
public abstract Task RunAsync(TerminalCustomRouterContext context)
Parameters
context
TerminalCustomRouterContextThe custom routing service context.