MvcViewFeaturesMvcBuilderExtensions.AddCookieTempDataProvider Methode

Definition

Überlädt

AddCookieTempDataProvider(IMvcBuilder)

CookieTempDataProvider Registriert sich als Standard ITempDataProvider in IServiceCollection.

AddCookieTempDataProvider(IMvcBuilder, Action<CookieTempDataProviderOptions>)

CookieTempDataProvider Registriert sich als Standard ITempDataProvider in IServiceCollection.

AddCookieTempDataProvider(IMvcBuilder)

Quelle:
MvcViewFeaturesMvcBuilderExtensions.cs
Quelle:
MvcViewFeaturesMvcBuilderExtensions.cs
Quelle:
MvcViewFeaturesMvcBuilderExtensions.cs

CookieTempDataProvider Registriert sich als Standard ITempDataProvider in 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

Parameter

builder
IMvcBuilder

Die IMvcBuilder.

Gibt zurück

Die IMvcBuilder.

Gilt für:

AddCookieTempDataProvider(IMvcBuilder, Action<CookieTempDataProviderOptions>)

Quelle:
MvcViewFeaturesMvcBuilderExtensions.cs
Quelle:
MvcViewFeaturesMvcBuilderExtensions.cs
Quelle:
MvcViewFeaturesMvcBuilderExtensions.cs

CookieTempDataProvider Registriert sich als Standard ITempDataProvider in 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

Parameter

builder
IMvcBuilder

Die IMvcBuilder.

setupAction
Action<CookieTempDataProviderOptions>

Eine Action<T> zum Konfigurieren des bereitgestellten CookieTempDataProviderOptions-Elements.

Gibt zurück

Die IMvcBuilder.

Gilt für: