示例#1
0
 private void CreateAndAttachToGenerator(ICodeGeneratorProperties properties)
 {
     this.codeGenerator = BuildGenerator(properties);
     this.codeGenerator.ItemGenerated += new EventHandler<EventArgs<GenerationTraceItem>>(this.HandleGeneratorTraceOutput);
     this.codeGenerator.GenerationCompleted += new EventHandler<EventArgs<GenerationTraceItem>>(this.HandleGenerationCompleted);
 }
示例#2
0
 private DotNetProjectGenerator CreateGenerator(ICodeGeneratorProperties properties)
 {
     return new DotNetProjectGenerator((DotNetProjectGeneratorProperties)properties);
 }
示例#3
0
 private ICodeGenerator CreateGenerator(ICodeGeneratorProperties properties)
 {
     return new DbProjectGenerator((DbProjectGeneratorProperties)properties);
 }