public ExtensionTranslatorClassGenerator(CodeLang codeLang)
 {
     this.codeLang  = codeLang;
     this.generator = CodeDomUtils.CreateGenerator(codeLang);
 }
 public TranslatorClassGenerator(CodeLang lang)
 {
     this.generator = CodeDomUtils.CreateGenerator(lang);
 }