ConfigurableMiddleware Constructor
Definition
- Namespace
- Cuemon.AspNetCore
- Assemblies
- Cuemon.AspNetCore.dll
ConfigurableMiddleware(RequestDelegate, IOptions<TOptions>)
Initializes a new instance of the ConfigurableMiddleware<TOptions> class.
protected ConfigurableMiddleware(RequestDelegate next, IOptions<TOptions> setup)
Parameters
nextRequestDelegateThe delegate of the request pipeline to invoke.
setupIOptions<TOptions>The IOptions<TOptions> which need to be configured.
ConfigurableMiddleware(RequestDelegate, Action<TOptions>)
Initializes a new instance of the ConfigurableMiddleware<TOptions> class.
protected ConfigurableMiddleware(RequestDelegate next, Action<TOptions> setup)
Parameters
nextRequestDelegateThe delegate of the request pipeline to invoke.
setupAction<TOptions>The Action<T> which need to be configured.