private BConfigManager() { // create global configuration globalConf = new BConfigItem(Path.Combine(LibBeline.GlobalPath, "global.conf")); globalConf.ImportGlobalConfig(Path.Combine(LibBeline.LocalPath, "global.conf")); try { BValueType str = (BValueType)globalConf["/beline/conf/global/limit[@maxmodulescount]"]; capacity = Convert.ToInt32(str.ToString()); } catch { capacity = 32; } moduleConf = new Hashtable(capacity); }