T5.TextTemplating by Atif Aziz,Mikayla Hutchinson

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

 DirectiveProcessor

public abstract class DirectiveProcessor : IDirectiveProcessor
protected DirectiveProcessor()

public abstract void FinishProcessingRun()

public abstract string GetClassCodeForProcessingRun()

public abstract string[] GetImportsForProcessingRun()

public abstract string[] GetReferencesForProcessingRun()

public virtual void Initialize(ITextTemplatingEngineHost host)

public abstract bool IsDirectiveSupported(string directiveName)

public abstract void ProcessDirective(string directiveName, IDictionary<string, string> arguments)

public virtual void StartProcessingRun(CodeDomProvider languageProvider, string templateContents, CompilerErrorCollection errors)