예제 #1
0
        static private ConfigSection GetSectionForPlugin(ModToolPlugin tool)
        {
            string sectionName = tool.GetType().Name;

            if (!s_pluginsConfig.ContainsValue(sectionName))
            {
                s_pluginsConfig[sectionName] = new ConfigSection(sectionName);
            }
            return(s_pluginsConfig[sectionName]);
        }