Condividi tramite


CookiePolicyMiddleware Costruttori

Definizione

Overload

CookiePolicyMiddleware(RequestDelegate, IOptions<CookiePolicyOptions>)

Inizializza una nuova istanza di CookiePolicyMiddleware.

CookiePolicyMiddleware(RequestDelegate, IOptions<CookiePolicyOptions>, ILoggerFactory)

Inizializza una nuova istanza di CookiePolicyMiddleware.

CookiePolicyMiddleware(RequestDelegate, IOptions<CookiePolicyOptions>)

Origine:
CookiePolicyMiddleware.cs
Origine:
CookiePolicyMiddleware.cs
Origine:
CookiePolicyMiddleware.cs

Inizializza una nuova istanza di CookiePolicyMiddleware.

public:
 CookiePolicyMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::CookiePolicyOptions ^> ^ options);
public CookiePolicyMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.CookiePolicyOptions> options);
new Microsoft.AspNetCore.CookiePolicy.CookiePolicyMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.CookiePolicyOptions> -> Microsoft.AspNetCore.CookiePolicy.CookiePolicyMiddleware
Public Sub New (next As RequestDelegate, options As IOptions(Of CookiePolicyOptions))

Parametri

next
RequestDelegate

Riferimento all'elemento successivo nella pipeline dell'applicazione.

options
IOptions<CookiePolicyOptions>

Funzione di accesso a CookiePolicyOptions.

Si applica a

CookiePolicyMiddleware(RequestDelegate, IOptions<CookiePolicyOptions>, ILoggerFactory)

Origine:
CookiePolicyMiddleware.cs
Origine:
CookiePolicyMiddleware.cs
Origine:
CookiePolicyMiddleware.cs

Inizializza una nuova istanza di CookiePolicyMiddleware.

public:
 CookiePolicyMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::CookiePolicyOptions ^> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ factory);
public CookiePolicyMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.CookiePolicyOptions> options, Microsoft.Extensions.Logging.ILoggerFactory factory);
new Microsoft.AspNetCore.CookiePolicy.CookiePolicyMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.CookiePolicyOptions> * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.CookiePolicy.CookiePolicyMiddleware
Public Sub New (next As RequestDelegate, options As IOptions(Of CookiePolicyOptions), factory As ILoggerFactory)

Parametri

next
RequestDelegate

Riferimento all'elemento successivo nella pipeline dell'applicazione.

options
IOptions<CookiePolicyOptions>

Funzione di accesso a CookiePolicyOptions.

factory
ILoggerFactory

Oggetto ILoggerFactory.

Si applica a