다음을 통해 공유


MvcViewFeaturesMvcBuilderExtensions.AddSessionStateTempDataProvider 메서드

정의

에서 기본값 ITempDataProvider 으로 등록합니다.IServiceCollectionSessionStateTempDataProvider

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

적용 대상