CreateProvider() публичный Метод

public CreateProvider ( ) : CodeDomProvider
Результат CodeDomProvider
Пример #1
0
        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;
                }
            }
        }
Пример #2
0
        public static CodeDomProvider CreateProvider(string language, IDictionary <string, string> providerOptions)
        {
            CompilerInfo ci = GetCompilerInfo(language);

            return(ci == null ? null : ci.CreateProvider(providerOptions));
        }
Пример #3
0
        public static CodeDomProvider CreateProvider(string language)
        {
            CompilerInfo ci = GetCompilerInfo(language);

            return((ci == null) ? null : ci.CreateProvider());
        }
Пример #4
0
        public static CodeDomProvider CreateProvider(string language)
        {
            CompilerInfo compilerInfo = GetCompilerInfo(language);

            return(compilerInfo.CreateProvider());
        }
Пример #5
0
        public static CodeDomProvider CreateProvider(string language, System.Collections.Generic.IDictionary <string, string> providerOptions)
        {
            CompilerInfo compilerInfo = GetCompilerInfo(language);

            return(compilerInfo.CreateProvider(providerOptions));
        }