다음을 통해 공유


MvcRazorParser 생성자

정의

MvcRazorParser의 새 인스턴스를 초기화합니다.

public:
 MvcRazorParser(Microsoft::AspNetCore::Razor::Parser::RazorParser ^ parser, System::Collections::Generic::IReadOnlyList<Microsoft::AspNetCore::Razor::Chunks::ChunkTree ^> ^ inheritedChunkTrees, System::Collections::Generic::IReadOnlyList<Microsoft::AspNetCore::Razor::Chunks::Chunk ^> ^ defaultInheritedChunks, System::String ^ modelExpressionTypeName);
public MvcRazorParser (Microsoft.AspNetCore.Razor.Parser.RazorParser parser, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Razor.Chunks.ChunkTree> inheritedChunkTrees, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Razor.Chunks.Chunk> defaultInheritedChunks, string modelExpressionTypeName);
new Microsoft.AspNetCore.Mvc.Razor.MvcRazorParser : Microsoft.AspNetCore.Razor.Parser.RazorParser * System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Razor.Chunks.ChunkTree> * System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Razor.Chunks.Chunk> * string -> Microsoft.AspNetCore.Mvc.Razor.MvcRazorParser
Public Sub New (parser As RazorParser, inheritedChunkTrees As IReadOnlyList(Of ChunkTree), defaultInheritedChunks As IReadOnlyList(Of Chunk), modelExpressionTypeName As String)

매개 변수

parser
RazorParser

RazorParser 속성을 복사할 입니다.

inheritedChunkTrees
IReadOnlyList<ChunkTree>

IReadOnlyList<T>_ViewImports 파일에서 구문 분석된 페이지에서 상속되는 입니다.

defaultInheritedChunks
IReadOnlyList<Chunk>

애플리케이션의 IReadOnlyList<T> 모든 Razor 페이지에서 기본적으로 상속되는 입니다.

modelExpressionTypeName
String

모델 식 Type의 전체 이름입니다.

적용 대상