public CreateProvider ( ) : |
||
Результат |
static void AddCompilerInfo(CompilerInfo ci) { ci.CreateProvider(); compiler_infos.Add(ci); string[] languages = ci.GetLanguages(); if (languages != null) { foreach (string language in languages) { compiler_languages [language] = ci; } } string[] extensions = ci.GetExtensions(); if (extensions != null) { foreach (string extension in extensions) { compiler_extensions [extension] = ci; } } }
public static CodeDomProvider CreateProvider(string language, IDictionary <string, string> providerOptions) { CompilerInfo ci = GetCompilerInfo(language); return(ci == null ? null : ci.CreateProvider(providerOptions)); }
public static CodeDomProvider CreateProvider(string language) { CompilerInfo ci = GetCompilerInfo(language); return((ci == null) ? null : ci.CreateProvider()); }
public static CodeDomProvider CreateProvider(string language) { CompilerInfo compilerInfo = GetCompilerInfo(language); return(compilerInfo.CreateProvider()); }
public static CodeDomProvider CreateProvider(string language, System.Collections.Generic.IDictionary <string, string> providerOptions) { CompilerInfo compilerInfo = GetCompilerInfo(language); return(compilerInfo.CreateProvider(providerOptions)); }