Compartir a través de


MvcViewFeaturesMvcBuilderExtensions.AddCookieTempDataProvider Método

Definición

Sobrecargas

AddCookieTempDataProvider(IMvcBuilder)

Se CookieTempDataProvider registra como valor predeterminado ITempDataProvider en .IServiceCollection

AddCookieTempDataProvider(IMvcBuilder, Action<CookieTempDataProviderOptions>)

Se CookieTempDataProvider registra como valor predeterminado ITempDataProvider en .IServiceCollection

AddCookieTempDataProvider(IMvcBuilder)

Source:
MvcViewFeaturesMvcBuilderExtensions.cs
Source:
MvcViewFeaturesMvcBuilderExtensions.cs
Source:
MvcViewFeaturesMvcBuilderExtensions.cs

Se CookieTempDataProvider registra como valor predeterminado ITempDataProvider en .IServiceCollection

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

Parámetros

Devoluciones

IMvcBuilder.

Se aplica a

AddCookieTempDataProvider(IMvcBuilder, Action<CookieTempDataProviderOptions>)

Source:
MvcViewFeaturesMvcBuilderExtensions.cs
Source:
MvcViewFeaturesMvcBuilderExtensions.cs
Source:
MvcViewFeaturesMvcBuilderExtensions.cs

Se CookieTempDataProvider registra como valor predeterminado ITempDataProvider en .IServiceCollection

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

Parámetros

setupAction
Action<CookieTempDataProviderOptions>

Action<T> para configurar el objeto CookieTempDataProviderOptions proporcionado.

Devoluciones

IMvcBuilder.

Se aplica a