static System.CodeDom.Compiler.CodeDomProvider getCodeDomProvider(CodeDomProvider codeDomProvider) { if (codeDomProvider == CodeDomProvider.CSharp) { return(new CSharpCodeProvider()); } return(new VBCodeProvider()); }
System.CodeDom.Compiler.CodeDomProvider GetCodeDomProvider(CodeDomProvider codeDomProvider){ return codeDomProvider == CodeDomProvider.CSharp ? (System.CodeDom.Compiler.CodeDomProvider) new CSharpCodeProvider() : new VBCodeProvider(); }
static System.CodeDom.Compiler.CodeDomProvider getCodeDomProvider(CodeDomProvider codeDomProvider) { if (codeDomProvider == CodeDomProvider.CSharp) return new CSharpCodeProvider(); return new VBCodeProvider(); }
System.CodeDom.Compiler.CodeDomProvider GetCodeDomProvider(CodeDomProvider codeDomProvider) { return(codeDomProvider == CodeDomProvider.CSharp ? (System.CodeDom.Compiler.CodeDomProvider) new CSharpCodeProvider() : new VBCodeProvider()); }