DocumentParseCompleteEventArgs Class

Arguments for the DocumentParseComplete event in RazorEditorParser

Namespace
Microsoft.AspNetCore.Razor
Assemblies
  • Microsoft.AspNetCore.Razor

Syntax

public class DocumentParseCompleteEventArgs : EventArgs
class Microsoft.AspNetCore.Razor.DocumentParseCompleteEventArgs

Properties

Microsoft.AspNetCore.Razor.DocumentParseCompleteEventArgs.GeneratorResults

The results of the chunk generation and parsing

Return type:Microsoft.AspNetCore.Razor.CodeGenerators.GeneratorResults
public GeneratorResults GeneratorResults { get; set; }
Microsoft.AspNetCore.Razor.DocumentParseCompleteEventArgs.SourceChange

The TextChange which triggered the re-parse

Return type:Microsoft.AspNetCore.Razor.Text.TextChange
public TextChange SourceChange { get; set; }
Microsoft.AspNetCore.Razor.DocumentParseCompleteEventArgs.TreeStructureChanged

Indicates if the tree structure has actually changed since the previous re-parse.

Return type:System.Boolean
public bool TreeStructureChanged { get; set; }