C# Class Mono.TextTemplating.TemplatingEngine

Inheritance: System.MarshalByRefObject, Microsoft.VisualStudio.TextTemplating.ITextTemplatingEngine
Show file Open project: stuartcarnie/Mono.TextTemplating Class Usage Examples

Public Methods

Method Description
GenerateCode ( ITextTemplatingEngineHost host, ParsedTemplate pt, Mono.TextTemplating.TemplateSettings settings, CodeCompileUnit ccu ) : System.Reflection.Assembly
GenerateCompileUnit ( ITextTemplatingEngineHost host, ParsedTemplate pt, Mono.TextTemplating.TemplateSettings settings ) : CodeCompileUnit
GetSettings ( ITextTemplatingEngineHost host, ParsedTemplate pt ) : Mono.TextTemplating.TemplateSettings
ProcessTemplate ( string content, ITextTemplatingEngineHost host ) : string
Run ( System assem, string type, ITextTemplatingEngineHost host, System culture ) : string

Private Methods

Method Description
ComplainExcessAttributes ( Directive dt, ParsedTemplate pt ) : bool

Method Details

GenerateCode() public static method

public static GenerateCode ( ITextTemplatingEngineHost host, ParsedTemplate pt, Mono.TextTemplating.TemplateSettings settings, CodeCompileUnit ccu ) : System.Reflection.Assembly
host ITextTemplatingEngineHost
pt ParsedTemplate
settings Mono.TextTemplating.TemplateSettings
ccu System.CodeDom.CodeCompileUnit
return System.Reflection.Assembly

GenerateCompileUnit() public static method

public static GenerateCompileUnit ( ITextTemplatingEngineHost host, ParsedTemplate pt, Mono.TextTemplating.TemplateSettings settings ) : CodeCompileUnit
host ITextTemplatingEngineHost
pt ParsedTemplate
settings Mono.TextTemplating.TemplateSettings
return System.CodeDom.CodeCompileUnit

GetSettings() public static method

public static GetSettings ( ITextTemplatingEngineHost host, ParsedTemplate pt ) : Mono.TextTemplating.TemplateSettings
host ITextTemplatingEngineHost
pt ParsedTemplate
return Mono.TextTemplating.TemplateSettings

ProcessTemplate() public method

public ProcessTemplate ( string content, ITextTemplatingEngineHost host ) : string
content string
host ITextTemplatingEngineHost
return string

Run() public static method

public static Run ( System assem, string type, ITextTemplatingEngineHost host, System culture ) : string
assem System
type string
host ITextTemplatingEngineHost
culture System
return string