Example #1
0
 public static SlkManager CreateInstance()
 {
     if (Instance == null)
     {
         Instance = new SlkManager();
         Instance.Init();
     }
     return(Instance);
 }
Example #2
0
 //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);
     }
 }