protected override void RemoveSessionItem(string sessionId)
 {
     namedCache.Remove(sessionId);
 }
Пример #2
0
 /// <summary>
 /// Removes the element with the specified key from the
 /// <b>IDictionary</b> object.
 /// </summary>
 /// <param name="key">
 /// The key of the element to remove.
 /// </param>
 public virtual void Remove(object key)
 {
     NamedCache.Remove(key);
 }
 public void Remove(string name)
 {
     namedCache.Remove(keyPrefix + name);
     IncrementCount(-1);
     IncrementVersion();
 }