MiddlewareContext Class

Definition

The per-run state exposed to middleware via the chain walker. One instance is constructed per CliInvoke.Core.Middleware.MiddlewareChain.RunAsync(CliInvoke.Core.InvocationContext%2cSystem.Threading.CancellationToken) call and shared by every middleware in the chain; it carries the run's single cancellation token.

public sealed class MiddlewareContext
Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

Constructors (1)

Properties (3)