CodeGenerator..::..AddTemplate Method
Initializes a template to use for substitution.
Namespace:
CodeGeneratorAssembly: ModelCompiler (in ModelCompiler.dll)
Syntax
protected void AddTemplate( Template template, string replacement, string templatePath, IEnumerable targets, LoadTemplateEventHandler onLoad, WriteTemplateEventHandler onWrite )
Parameters
- template
- Type: CodeGenerator..::..Template
- replacement
- Type: String
- templatePath
- Type: String
- targets
- Type: IEnumerable
- onLoad
- Type: CodeGenerator..::..LoadTemplateEventHandler
- onWrite
- Type: CodeGenerator..::..WriteTemplateEventHandler