共用方式為


GeneratorResults 建構函式

定義

多載

GeneratorResults(ParserResults, CodeGeneratorResult, ChunkTree)

具現化新的 GeneratorResults 實例。

GeneratorResults(Block, IEnumerable<TagHelperDescriptor>, ErrorSink, CodeGeneratorResult, ChunkTree)

具現化新的 GeneratorResults 實例。

GeneratorResults(ParserResults, CodeGeneratorResult, ChunkTree)

具現化新的 GeneratorResults 實例。

public:
 GeneratorResults(Microsoft::AspNetCore::Razor::ParserResults ^ parserResults, Microsoft::AspNetCore::Razor::CodeGenerators::CodeGeneratorResult ^ codeGeneratorResult, Microsoft::AspNetCore::Razor::Chunks::ChunkTree ^ chunkTree);
public GeneratorResults (Microsoft.AspNetCore.Razor.ParserResults parserResults, Microsoft.AspNetCore.Razor.CodeGenerators.CodeGeneratorResult codeGeneratorResult, Microsoft.AspNetCore.Razor.Chunks.ChunkTree chunkTree);
new Microsoft.AspNetCore.Razor.CodeGenerators.GeneratorResults : Microsoft.AspNetCore.Razor.ParserResults * Microsoft.AspNetCore.Razor.CodeGenerators.CodeGeneratorResult * Microsoft.AspNetCore.Razor.Chunks.ChunkTree -> Microsoft.AspNetCore.Razor.CodeGenerators.GeneratorResults
Public Sub New (parserResults As ParserResults, codeGeneratorResult As CodeGeneratorResult, chunkTree As ChunkTree)

參數

parserResults
ParserResults

剖析檔的結果。

codeGeneratorResult
CodeGeneratorResult

產生檔程式碼的結果。

chunkTree
ChunkTree

ChunkTree檔的 。

適用於

GeneratorResults(Block, IEnumerable<TagHelperDescriptor>, ErrorSink, CodeGeneratorResult, ChunkTree)

具現化新的 GeneratorResults 實例。

public:
 GeneratorResults(Microsoft::AspNetCore::Razor::Parser::SyntaxTree::Block ^ document, System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Razor::Compilation::TagHelpers::TagHelperDescriptor ^> ^ tagHelperDescriptors, Microsoft::AspNetCore::Razor::ErrorSink ^ errorSink, Microsoft::AspNetCore::Razor::CodeGenerators::CodeGeneratorResult ^ codeGeneratorResult, Microsoft::AspNetCore::Razor::Chunks::ChunkTree ^ chunkTree);
public GeneratorResults (Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Block document, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor> tagHelperDescriptors, Microsoft.AspNetCore.Razor.ErrorSink errorSink, Microsoft.AspNetCore.Razor.CodeGenerators.CodeGeneratorResult codeGeneratorResult, Microsoft.AspNetCore.Razor.Chunks.ChunkTree chunkTree);
new Microsoft.AspNetCore.Razor.CodeGenerators.GeneratorResults : Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Block * seq<Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor> * Microsoft.AspNetCore.Razor.ErrorSink * Microsoft.AspNetCore.Razor.CodeGenerators.CodeGeneratorResult * Microsoft.AspNetCore.Razor.Chunks.ChunkTree -> Microsoft.AspNetCore.Razor.CodeGenerators.GeneratorResults
Public Sub New (document As Block, tagHelperDescriptors As IEnumerable(Of TagHelperDescriptor), errorSink As ErrorSink, codeGeneratorResult As CodeGeneratorResult, chunkTree As ChunkTree)

參數

document
Block

Block語法樹狀結構的 。

tagHelperDescriptors
IEnumerable<TagHelperDescriptor>

TagHelperDescriptor 用至目前 Razor 檔的 。

errorSink
ErrorSink

ErrorSink 析目前 Razor 檔時,用來收集 RazorError 的 。

codeGeneratorResult
CodeGeneratorResult

產生檔程式碼的結果。

chunkTree
ChunkTree

ChunkTree檔的 。

適用於