GeneratorResults Construtores

Definição

Sobrecargas

GeneratorResults(ParserResults, CodeGeneratorResult, ChunkTree)

Instancia uma nova GeneratorResults instância.

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

Instancia uma nova GeneratorResults instância.

GeneratorResults(ParserResults, CodeGeneratorResult, ChunkTree)

Instancia uma nova GeneratorResults instância.

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)

Parâmetros

parserResults
ParserResults

Os resultados da análise de um documento.

codeGeneratorResult
CodeGeneratorResult

Os resultados da geração de código para o documento.

chunkTree
ChunkTree

Um ChunkTree para o documento.

Aplica-se a

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

Instancia uma nova GeneratorResults instância.

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)

Parâmetros

document
Block

O Block para a árvore de sintaxe.

tagHelperDescriptors
IEnumerable<TagHelperDescriptor>

Os TagHelperDescriptors que se aplicam ao documento Razor atual.

errorSink
ErrorSink

O ErrorSink usado para coletar RazorErrors encontrados ao analisar o documento Razor atual.

codeGeneratorResult
CodeGeneratorResult

Os resultados da geração de código para o documento.

chunkTree
ChunkTree

Um ChunkTree para o documento.

Aplica-se a