다음을 통해 공유


MvcRazorPagesMvcCoreBuilderExtensions.WithRazorPagesRoot 메서드

정의

지정된 를 사용하도록 Razor Pages를 rootDirectory구성합니다.

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder WithRazorPagesRoot (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, string rootDirectory);
static member WithRazorPagesRoot : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder * string -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function WithRazorPagesRoot (builder As IMvcCoreBuilder, rootDirectory As String) As IMvcCoreBuilder

매개 변수

rootDirectory
String

루트 디렉터리로 사용할 애플리케이션 상대 경로입니다.

반환

적용 대상