示例#1
0
 static System.CodeDom.Compiler.CodeDomProvider getCodeDomProvider(CodeDomProvider codeDomProvider)
 {
     if (codeDomProvider == CodeDomProvider.CSharp)
     {
         return(new CSharpCodeProvider());
     }
     return(new VBCodeProvider());
 }
示例#2
0
 System.CodeDom.Compiler.CodeDomProvider GetCodeDomProvider(CodeDomProvider codeDomProvider){
     return codeDomProvider == CodeDomProvider.CSharp
         ? (System.CodeDom.Compiler.CodeDomProvider) new CSharpCodeProvider()
         : new VBCodeProvider();
 }
示例#3
0
 static System.CodeDom.Compiler.CodeDomProvider getCodeDomProvider(CodeDomProvider codeDomProvider) {
     if (codeDomProvider == CodeDomProvider.CSharp)
         return new CSharpCodeProvider();
     return new VBCodeProvider();
 }
示例#4
0
 System.CodeDom.Compiler.CodeDomProvider GetCodeDomProvider(CodeDomProvider codeDomProvider)
 {
     return(codeDomProvider == CodeDomProvider.CSharp
         ? (System.CodeDom.Compiler.CodeDomProvider) new CSharpCodeProvider()
         : new VBCodeProvider());
 }