T5.TextTemplating by Atif Aziz,Mikayla Hutchinson

<PackageReference Include="T5.TextTemplating" Version="1.1.0" />

 TemplatingEngine

public static string GenerateIndentedClassCode(CodeDomProvider provider, CodeTypeMember[] members)

public static string GenerateIndentedClassCode(CodeDomProvider provider, IEnumerable<CodeTypeMember> members)

public static string IndentSnippetText(CodeDomProvider provider, string text, string indent)

public static string IndentSnippetText(string text, string indent)

public string PreprocessTemplate(string content, ITextTemplatingEngineHost host, string className, string classNamespace, out string language, out string references)

public string ProcessTemplate(string content, ITextTemplatingEngineHost host)