GeneratorResults Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
GeneratorResults(ParserResults, CodeGeneratorResult, ChunkTree) |
Tworzy wystąpienie nowego GeneratorResults wystąpienia. |
GeneratorResults(Block, IEnumerable<TagHelperDescriptor>, ErrorSink, CodeGeneratorResult, ChunkTree) |
Tworzy wystąpienie nowego GeneratorResults wystąpienia. |
GeneratorResults(ParserResults, CodeGeneratorResult, ChunkTree)
Tworzy wystąpienie nowego GeneratorResults wystąpienia.
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)
Parametry
- parserResults
- ParserResults
Wyniki analizowania dokumentu.
- codeGeneratorResult
- CodeGeneratorResult
Wyniki generowania kodu dla dokumentu.
Dotyczy
GeneratorResults(Block, IEnumerable<TagHelperDescriptor>, ErrorSink, CodeGeneratorResult, ChunkTree)
Tworzy wystąpienie nowego GeneratorResults wystąpienia.
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)
Parametry
- tagHelperDescriptors
- IEnumerable<TagHelperDescriptor>
S TagHelperDescriptor, które mają zastosowanie do bieżącego dokumentu Razor.
- errorSink
- ErrorSink
Element ErrorSink używany do zbierania RazorErrornapotkanych podczas analizowania bieżącego dokumentu Razor.
- codeGeneratorResult
- CodeGeneratorResult
Wyniki generowania kodu dla dokumentu.