GeneratorResults Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GeneratorResults(ParserResults, CodeGeneratorResult, ChunkTree) |
Instantiates a new GeneratorResults instance. |
GeneratorResults(Block, IEnumerable<TagHelperDescriptor>, ErrorSink, CodeGeneratorResult, ChunkTree) |
Instantiates a new GeneratorResults instance. |
GeneratorResults(ParserResults, CodeGeneratorResult, ChunkTree)
Instantiates a new GeneratorResults instance.
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)
Parameters
- parserResults
- ParserResults
The results of parsing a document.
- codeGeneratorResult
- CodeGeneratorResult
The results of generating code for the document.
Applies to
GeneratorResults(Block, IEnumerable<TagHelperDescriptor>, ErrorSink, CodeGeneratorResult, ChunkTree)
Instantiates a new GeneratorResults instance.
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)
Parameters
- tagHelperDescriptors
- IEnumerable<TagHelperDescriptor>
The TagHelperDescriptors that apply to the current Razor document.
- errorSink
- ErrorSink
The ErrorSink used to collect RazorErrors encountered when parsing the current Razor document.
- codeGeneratorResult
- CodeGeneratorResult
The results of generating code for the document.