次の方法で共有


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の完全な名前。

適用対象