Table of Contents

Middleware<T1, T2, T3, T4> Class

Definition

Namespace
Cuemon.AspNetCore
Assemblies
Cuemon.AspNetCore.dll
Source
src/Cuemon.AspNetCore/Middleware.cs

Provides a base-class for middleware implementation in ASP.NET Core with four dependency injected parameters.

public abstract class Middleware<T1, T2, T3, T4> : MiddlewareCore

Type Parameters

T1

The type of the first dependency injected parameter of InvokeAsync(HttpContext, T1, T2, T3, T4).

T2

The type of the second dependency injected parameter of InvokeAsync(HttpContext, T1, T2, T3, T4).

T3

The type of the third dependency injected parameter of InvokeAsync(HttpContext, T1, T2, T3, T4).

T4

The type of the fourth dependency injected parameter of InvokeAsync(HttpContext, T1, T2, T3, T4).

Inheritance
object
Middleware<T1, T2, T3, T4>
Derived
Inherited Members

Constructors

Name Description
Middleware(RequestDelegate)

Initializes a new instance of the Middleware class.

Methods

Name Description
InvokeAsync(HttpContext, T1, T2, T3, T4)

Executes the Middleware<T1, T2, T3, T4>.

See Also

ConfigurableMiddleware<T1, T2, T3, T4, TOptions>