Class ConfigurableMiddlewareCore<TOptions>
- Namespace
- Cuemon.AspNetCore.Infrastructure
- Assembly
- Cuemon.AspNetCore.dll
Provides an base-class for configurable middleware implementation in ASP.NET Core that supports the options pattern. This API supports the product infrastructure and is not intended to be used directly from your code.
public abstract class ConfigurableMiddlewareCore<TOptions> : MiddlewareCore, IConfigurable<TOptions> where TOptions : class, IParameterObject, new()
Type Parameters
TOptions
The type of the options to setup.
- Inheritance
-
ConfigurableMiddlewareCore<TOptions>
- Implements
-
IConfigurable<TOptions>
- Derived
- Inherited Members
Properties
Options
Gets the configured options of this Middleware.
public TOptions Options { get; }
Property Value
- TOptions
The configured options of this Middleware.