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 收集 RazorError在分析当前 Razor 文档时遇到的 。

codeGeneratorResult
CodeGeneratorResult

生成文档代码的结果。

chunkTree
ChunkTree

文档的 。ChunkTree

适用于