Ejemplo n.º 1
0
 /// <summary>
 /// Remove item from cache
 /// </summary>
 /// <param name="key">Name of cached item</param>
 public static void Clear(string key, ObserveDto observe)
 {
     observe.Changed = false;
     DotnetCoreSvr.UpdateObserve(observe, true);
     Redishelper.DeleteItem(key);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Remove item from cache
 /// </summary>
 /// <param name="key">Name of cached item</param>
 public static void Clear(string key)
 {
     Redishelper.DeleteItem(consolidatedKey);
 }