Delen via


GeneratorResults Class

Definition

The results of parsing and generating code for a Razor document.

public ref class GeneratorResults : Microsoft::AspNetCore::Razor::ParserResults
public class GeneratorResults : Microsoft.AspNetCore.Razor.ParserResults
type GeneratorResults = class
    inherit ParserResults
Public Class GeneratorResults
Inherits ParserResults
Inheritance
GeneratorResults

Constructors

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

Instantiates a new GeneratorResults instance.

GeneratorResults(ParserResults, CodeGeneratorResult, ChunkTree)

Instantiates a new GeneratorResults instance.

Properties

ChunkTree

A ChunkTree for the document.

DesignTimeLineMappings

LineMappings used to project code from a file during design time.

Document

The root node in the document's syntax tree.

(Inherited from ParserResults)
ErrorSink

Used to aggregate RazorErrors.

(Inherited from ParserResults)
GeneratedCode

The generated code for the document.

ParserErrors

The list of errors which occurred during parsing.

(Inherited from ParserResults)
Prefix

Text used as a required prefix when matching HTML.

(Inherited from ParserResults)
Success

Indicates if parsing was successful (no errors).

(Inherited from ParserResults)
TagHelperDescriptors

The TagHelperDescriptors found for the current Razor document.

(Inherited from ParserResults)

Applies to