using System.Collections.Generic; public partial class ModelConfig : ConfigBase { //> static Dictionary> tabTypeDict = new Dictionary>(); protected override void OnConfigParseCompleted() { if (!tabTypeDict.ContainsKey(TabType)) { tabTypeDict[TabType] = new List(); } tabTypeDict[TabType].Add(ID); } public static List GetTabTypeTitles(int tabType) { if (!tabTypeDict.ContainsKey(tabType)) { return new List(); } return tabTypeDict[tabType]; } }