Partager via


CookiePolicyMiddleware Constructeurs

Définition

Surcharges

CookiePolicyMiddleware(RequestDelegate, IOptions<CookiePolicyOptions>)

Initialise une nouvelle instance de CookiePolicyMiddleware.

CookiePolicyMiddleware(RequestDelegate, IOptions<CookiePolicyOptions>, ILoggerFactory)

Initialise une nouvelle instance de CookiePolicyMiddleware.

CookiePolicyMiddleware(RequestDelegate, IOptions<CookiePolicyOptions>)

Source:
CookiePolicyMiddleware.cs
Source:
CookiePolicyMiddleware.cs
Source:
CookiePolicyMiddleware.cs

Initialise une nouvelle instance de 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))

Paramètres

next
RequestDelegate

Référence à l’élément suivant dans le pipeline d’application.

S’applique à

CookiePolicyMiddleware(RequestDelegate, IOptions<CookiePolicyOptions>, ILoggerFactory)

Source:
CookiePolicyMiddleware.cs
Source:
CookiePolicyMiddleware.cs
Source:
CookiePolicyMiddleware.cs

Initialise une nouvelle instance de 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)

Paramètres

next
RequestDelegate

Référence à l’élément suivant dans le pipeline d’application.

factory
ILoggerFactory

L’ILoggerFactoryopérateur

S’applique à