예제 #1
0
 public static void setData(string key, object data)
 {
     if (cache.ContainsKey(key))
     {
         remove(key);
     }
     MDebugLog.debug("[CacheResult-setData] key:" + key);
     cache.Add(key, data);
 }
예제 #2
0
 public static object getData(string key)
 {
     MDebugLog.debug("[CacheResult-getData] key:" + key);
     return(cache.GetValueOrDefault(key));
 }