共用方式為


MvcViewFeaturesMvcBuilderExtensions.AddSessionStateTempDataProvider 方法

定義

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

參數

傳回

IMvcBuilder

適用於