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); }
private DotNetProjectGenerator CreateGenerator(ICodeGeneratorProperties properties) { return new DotNetProjectGenerator((DotNetProjectGeneratorProperties)properties); }
private ICodeGenerator CreateGenerator(ICodeGeneratorProperties properties) { return new DbProjectGenerator((DbProjectGeneratorProperties)properties); }