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); }
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]); }