Share via


ISyntaxTreeRewriter.Rewrite(RewritingContext) Method

Definition

Rewrites the provided contexts 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 contexts SyntaxTree.

Applies to