Middleware<T1, T2, T3, T4, T5> Class
Definition
- Namespace
- Cuemon.AspNetCore
- Assemblies
- Cuemon.AspNetCore.dll
Provides a base-class for middleware implementation in ASP.NET Core with five dependency injected parameters.
public abstract class Middleware<T1, T2, T3, T4, T5> : MiddlewareCore
Type Parameters
T1The type of the first dependency injected parameter of InvokeAsync(HttpContext, T1, T2, T3, T4, T5).
T2The type of the second dependency injected parameter of InvokeAsync(HttpContext, T1, T2, T3, T4, T5).
T3The type of the third dependency injected parameter of InvokeAsync(HttpContext, T1, T2, T3, T4, T5).
T4The type of the fourth dependency injected parameter of InvokeAsync(HttpContext, T1, T2, T3, T4, T5).
T5The type of the fifth dependency injected parameter of InvokeAsync(HttpContext, T1, T2, T3, T4, T5).
- Inheritance
-
Middleware<T1, T2, T3, T4, T5>
- Inherited Members
Constructors
| Name | Description |
|---|---|
| Middleware(RequestDelegate) | Initializes a new instance of the Middleware class. |
Methods
| Name | Description |
|---|---|
| InvokeAsync(HttpContext, T1, T2, T3, T4, T5) | Executes the Middleware<T1, T2, T3, T4, T5>. |
See Also
ConfigurableMiddleware<T1, T2, T3, T4, T5, TOptions>