Middleware Property

Definition

Namespace CliInvoke.Core
Assembly CliInvoke.Core.dll

Gets or sets the MiddlewareContext exposed to middleware during execution.

public MiddlewareContext? Middleware { get; set; }

Returns

Remarks

Owned by the invoker. The CliInvoke.Core.Middleware.MiddlewareChain walker assigns this before invoking the first middleware. It is null until the walker populates it.