Table of Contents

ConfigurableMiddleware Constructor

Definition

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

ConfigurableMiddleware(RequestDelegate, IOptions<TOptions>)

Initializes a new instance of the ConfigurableMiddleware<TOptions> class.

protected ConfigurableMiddleware(RequestDelegate next, IOptions<TOptions> setup)

Parameters

next RequestDelegate

The delegate of the request pipeline to invoke.

setup IOptions<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

next RequestDelegate

The delegate of the request pipeline to invoke.

setup Action<TOptions>

The Action<T> which need to be configured.