Compartir a través de


MvcViewFeaturesMvcCoreBuilderExtensions.AddCookieTempDataProvider Método

Definición

Sobrecargas

AddCookieTempDataProvider(IMvcCoreBuilder)

Se CookieTempDataProvider registra como valor predeterminado ITempDataProvider en .IServiceCollection También registra los servicios de vista predeterminados.

AddCookieTempDataProvider(IMvcCoreBuilder, Action<CookieTempDataProviderOptions>)

Se CookieTempDataProvider registra como valor predeterminado ITempDataProvider en .IServiceCollection También registra los servicios de vista predeterminados.

AddCookieTempDataProvider(IMvcCoreBuilder)

Source:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
Source:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
Source:
MvcViewFeaturesMvcCoreBuilderExtensions.cs

Se CookieTempDataProvider registra como valor predeterminado ITempDataProvider en .IServiceCollection También registra los servicios de vista predeterminados.

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddCookieTempDataProvider (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder);
static member AddCookieTempDataProvider : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddCookieTempDataProvider (builder As IMvcCoreBuilder) As IMvcCoreBuilder

Parámetros

Devoluciones

IMvcCoreBuilder.

Se aplica a

AddCookieTempDataProvider(IMvcCoreBuilder, Action<CookieTempDataProviderOptions>)

Source:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
Source:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
Source:
MvcViewFeaturesMvcCoreBuilderExtensions.cs

Se CookieTempDataProvider registra como valor predeterminado ITempDataProvider en .IServiceCollection También registra los servicios de vista predeterminados.

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddCookieTempDataProvider (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, Action<Microsoft.AspNetCore.Mvc.CookieTempDataProviderOptions> setupAction);
static member AddCookieTempDataProvider : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder * Action<Microsoft.AspNetCore.Mvc.CookieTempDataProviderOptions> -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddCookieTempDataProvider (builder As IMvcCoreBuilder, setupAction As Action(Of CookieTempDataProviderOptions)) As IMvcCoreBuilder

Parámetros

setupAction
Action<CookieTempDataProviderOptions>

Action<T> para configurar el objeto CookieTempDataProviderOptions proporcionado.

Devoluciones

IMvcCoreBuilder.

Se aplica a