Udostępnij za pośrednictwem


MvcViewFeaturesMvcBuilderExtensions.AddSessionStateTempDataProvider Metoda

Definicja

Rejestruje SessionStateTempDataProvider się jako wartość domyślna ITempDataProvider w pliku IServiceCollection.

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

Parametry

builder
IMvcBuilder

Element IMvcBuilder.

Zwraca

Element IMvcBuilder.

Dotyczy