RazorViewEngineOptions 클래스

정의

에 대한 프로그래밍 방식 구성을 RazorViewEngine제공합니다.

public ref class RazorViewEngineOptions
public ref class RazorViewEngineOptions : System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Mvc::Infrastructure::ICompatibilitySwitch ^>
public class RazorViewEngineOptions
public class RazorViewEngineOptions : System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Infrastructure.ICompatibilitySwitch>
type RazorViewEngineOptions = class
type RazorViewEngineOptions = class
    interface seq<ICompatibilitySwitch>
    interface IEnumerable
Public Class RazorViewEngineOptions
Public Class RazorViewEngineOptions
Implements IEnumerable(Of ICompatibilitySwitch)
상속
RazorViewEngineOptions
구현

생성자

RazorViewEngineOptions()

에 대한 프로그래밍 방식 구성을 RazorViewEngine제공합니다.

속성

AdditionalCompilationReferences
사용되지 않음.

MetadataReference Razor 컴파일에 포함되어야 하는 인스턴스와 에서 검색한 인스턴스를 MetadataReferenceFeatureProvider가져옵니다.

AllowRecompilingViewsOnFileChange

디스크에서 파일이 변경될 경우 Razor 파일(Razor 뷰 및 Razor 페이지)이 다시 컴파일되고 업데이트되는지 여부를 결정하는 값을 가져오거나 설정합니다.

이면 trueMVC는 를 사용하여 Watch(String) 구성된 IFileProvider 인스턴스에서 Razor 파일의 변경 내용을 watch.

AreaPageViewLocationFormats

영역 내에서 Razor 페이지를 렌더링하는 컨텍스트에서 검색할 때 보기(예: 레이아웃 및 부분)를 검색할 위치를 RazorViewEngine 가져옵니다.

AreaViewLocationFormats

영역 내에서 보기를 검색할 위치를 RazorViewEngine 가져옵니다.

CompilationCallback
사용되지 않음.

속성을 업데이트 Compilation 할 수 있는 컴파일 설정을 변경하도록 Razor 컴파일을 사용자 지정하는 데 사용되는 콜백을 가져오거나 설정합니다.

CompilationOptions

Razor 뷰 컴파일에서 사용되는 를 CSharpCompilationOptions 가져오거나 설정합니다.

FileProviders

Razor 파일을 찾는 데 사용되는 RazorViewEngine 인스턴스의 IFileProvider 시퀀스를 가져옵니다.

PageViewLocationFormats

Razor 페이지 렌더링 컨텍스트에서 검색할 때 보기(예: 레이아웃 및 부분)를 검색할 위치를 RazorViewEngine 가져옵니다.

ParseOptions

Razor 뷰 컴파일에서 CSharpParseOptions 사용하는 옵션을 가져오거나 설정합니다.

ViewLocationExpanders

에서 IList<T> 사용하는 을 RazorViewEngine가져옵니다.

ViewLocationFormats

뷰를 검색할 위치를 RazorViewEngine 가져옵니다.

명시적 인터페이스 구현

IEnumerable.GetEnumerator()

에 대한 프로그래밍 방식 구성을 RazorViewEngine제공합니다.

IEnumerable<ICompatibilitySwitch>.GetEnumerator()

에 대한 프로그래밍 방식 구성을 RazorViewEngine제공합니다.

적용 대상