CookiePolicyAppBuilderExtensions.UseCookiePolicy Método

Definición

Sobrecargas

UseCookiePolicy(IApplicationBuilder)

Agrega el CookiePolicyMiddleware controlador al especificado IApplicationBuilder, que habilita las funcionalidades de la directiva de cookies.

UseCookiePolicy(IApplicationBuilder, CookiePolicyOptions)

Agrega el CookiePolicyMiddleware controlador al especificado IApplicationBuilder, que habilita las funcionalidades de la directiva de cookies.

UseCookiePolicy(IApplicationBuilder)

Source:
CookiePolicyAppBuilderExtensions.cs
Source:
CookiePolicyAppBuilderExtensions.cs
Source:
CookiePolicyAppBuilderExtensions.cs

Agrega el CookiePolicyMiddleware controlador al especificado IApplicationBuilder, que habilita las funcionalidades de la directiva de cookies.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseCookiePolicy(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseCookiePolicy (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseCookiePolicy : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseCookiePolicy (app As IApplicationBuilder) As IApplicationBuilder

Parámetros

app
IApplicationBuilder

IApplicationBuilder al que se va a agregar el controlador.

Devoluciones

Una referencia a esta instancia después de que se haya completado la operación.

Se aplica a

UseCookiePolicy(IApplicationBuilder, CookiePolicyOptions)

Source:
CookiePolicyAppBuilderExtensions.cs
Source:
CookiePolicyAppBuilderExtensions.cs
Source:
CookiePolicyAppBuilderExtensions.cs

Agrega el CookiePolicyMiddleware controlador al especificado IApplicationBuilder, que habilita las funcionalidades de la directiva de cookies.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseCookiePolicy(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::CookiePolicyOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseCookiePolicy (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.CookiePolicyOptions options);
static member UseCookiePolicy : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.CookiePolicyOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseCookiePolicy (app As IApplicationBuilder, options As CookiePolicyOptions) As IApplicationBuilder

Parámetros

app
IApplicationBuilder

IApplicationBuilder al que se va a agregar el controlador.

options
CookiePolicyOptions

que CookiePolicyOptions especifica las opciones del controlador.

Devoluciones

Una referencia a esta instancia después de que se haya completado la operación.

Se aplica a