ConfigurableMiddleware<TOptions> Class
Definition
- Namespace
- Cuemon.AspNetCore
- Assemblies
- Cuemon.AspNetCore.dll
Provides an base-class for configurable middleware implementation in ASP.NET Core that supports the options pattern.
public abstract class ConfigurableMiddleware<TOptions> : ConfigurableMiddlewareCore<TOptions>, IConfigurable<TOptions> where TOptions : class, IParameterObject, new()
Type Parameters
TOptionsThe type of the options to setup.
- Inheritance
-
ConfigurableMiddlewareCore<TOptions>ConfigurableMiddleware<TOptions>
- Implements
-
IConfigurable<TOptions>
- Derived
- Inherited Members
Constructors
| Name | Description |
|---|---|
| ConfigurableMiddleware(RequestDelegate, IOptions<TOptions>) | Initializes a new instance of the ConfigurableMiddleware<TOptions> class. |
| ConfigurableMiddleware(RequestDelegate, Action<TOptions>) | Initializes a new instance of the ConfigurableMiddleware<TOptions> class. |
Methods
| Name | Description |
|---|---|
| InvokeAsync(HttpContext) | Executes the Middleware. |