ISyntaxTreeRewriter.Rewrite(RewritingContext) 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.
Rewrites the provided context
s SyntaxTree.
public:
void Rewrite(Microsoft::AspNetCore::Razor::Parser::RewritingContext ^ context);
public void Rewrite (Microsoft.AspNetCore.Razor.Parser.RewritingContext context);
abstract member Rewrite : Microsoft.AspNetCore.Razor.Parser.RewritingContext -> unit
Public Sub Rewrite (context As RewritingContext)
Parameters
- context
- RewritingContext
Contains information on the rewriting of the syntax tree.
Remarks
To modify the syntax tree replace the context
s SyntaxTree.