public static SlkManager CreateInstance() { if (Instance == null) { Instance = new SlkManager(); Instance.Init(); } return(Instance); }
//reflect call public void RegistToMap(Dictionary <string, SlkDataObject> map) { //add type as key ext? typeof(T).Name + foreach (var pair in IdMap) { string fkey = SlkManager.SlkIdSearchFix <T>(pair.Key); map.Add(fkey, pair.Value); } }