Ejemplo n.º 1
0
        internal static void AddItem(this ConfigGroup group, Config item)
        {
            string key = item.CODE_NAME;

            if (key == null)
            {
                return;
            }

            ConfigInfo info;

            if (group.Item.TryGetValue(key, out info) == false)
            {
                info = CreateHelper.CreateConfigInfo(item);
                group.Item.Add(key, info);
            }
        }