RazorEditorParser.CheckForStructureChanges(TextChange) Method
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.
Determines if a change will cause a structural change to the document and if not, applies it to the existing tree. If a structural change would occur, automatically starts a reparse.
public:
virtual Microsoft::AspNetCore::Razor::PartialParseResult CheckForStructureChanges(Microsoft::AspNetCore::Razor::Text::TextChange change);
public virtual Microsoft.AspNetCore.Razor.PartialParseResult CheckForStructureChanges(Microsoft.AspNetCore.Razor.Text.TextChange change);
abstract member CheckForStructureChanges : Microsoft.AspNetCore.Razor.Text.TextChange -> Microsoft.AspNetCore.Razor.PartialParseResult
override this.CheckForStructureChanges : Microsoft.AspNetCore.Razor.Text.TextChange -> Microsoft.AspNetCore.Razor.PartialParseResult
Public Overridable Function CheckForStructureChanges (change As TextChange) As PartialParseResult
Parameters
- change
- TextChange
The change to apply to the parse tree.
Returns
A PartialParseResult value indicating the result of the incremental parse.
Remarks
NOTE: The initial incremental parsing check and actual incremental parsing (if possible) occurs on the caller's thread. However, if a full reparse is needed, this occurs on a background thread.