What is the equivalent of c# syntax analysis in razor?

28 Views Asked by At

I wanted to know if it exists an equivalent of Microsoft.CodeAnalysis.CSharp.CSharpSyntaxTree for razor or cshtml documents.

My goal is to generate razor document dynamically, and I don't want to do this manually via string concatenation.

I searched for this ability but I only found CSharp and VisualBasic syntax tree available in the documentation

0

There are 0 best solutions below