Compartilhar via


MvcViewFeaturesMvcBuilderExtensions.AddCookieTempDataProvider Método

Definição

Sobrecargas

AddCookieTempDataProvider(IMvcBuilder)

CookieTempDataProvider Registra como o padrão ITempDataProvider no IServiceCollection.

AddCookieTempDataProvider(IMvcBuilder, Action<CookieTempDataProviderOptions>)

CookieTempDataProvider Registra como o padrão ITempDataProvider no IServiceCollection.

AddCookieTempDataProvider(IMvcBuilder)

Origem:
MvcViewFeaturesMvcBuilderExtensions.cs
Origem:
MvcViewFeaturesMvcBuilderExtensions.cs
Origem:
MvcViewFeaturesMvcBuilderExtensions.cs
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

Retornos

O IMvcBuilder.

Aplica-se a

AddCookieTempDataProvider(IMvcBuilder, Action<CookieTempDataProviderOptions>)

Origem:
MvcViewFeaturesMvcBuilderExtensions.cs
Origem:
MvcViewFeaturesMvcBuilderExtensions.cs
Origem:
MvcViewFeaturesMvcBuilderExtensions.cs
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>

Um Action<T> para configurar o CookieTempDataProviderOptions fornecido.

Retornos

O IMvcBuilder.

Aplica-se a