Inheritance: System.Configuration.ConfigurationElementCollection
 static CodeDomConfigurationHandler()
 {
     default_compilers = new CompilerCollection();
     compilersProp     = new ConfigurationProperty("compilers", typeof(CompilerCollection), default_compilers);
     properties        = new ConfigurationPropertyCollection();
     properties.Add(compilersProp);
 }
		static CodeDomConfigurationHandler ()
		{
			default_compilers = new CompilerCollection ();
			compilersProp = new ConfigurationProperty ("compilers", typeof (CompilerCollection), default_compilers);
			properties = new ConfigurationPropertyCollection ();
			properties.Add (compilersProp);
		}
示例#3
0
        public static CompilerInfo GetCompilerInfo(string language)
        {
            if (language == null)
            {
                throw new ArgumentNullException("language");
            }
            if (Config == null)
            {
                return(null);
            }
            CompilerCollection cc = Config.Compilers;

            return(cc[language]);
        }