Exemplo n.º 1
0
 public void Remove(string key, CacheRemoveOptions options)
 {
     _cacheClient.Remove(key, options);
     LogRemove(key, options);
 }
Exemplo n.º 2
0
 private void LogRemove(string key, CacheRemoveOptions options)
 {
     LogItem("remove", options.Region, key, null);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Removes the specified item from the cache, or does nothing if the item does not
 /// exist.
 /// </summary>
 /// <param name="key">The Key of the Item in the Cache to remove.</param>
 /// <param name="options"></param>
 public void Remove(string key, CacheRemoveOptions options)
 {
     _provider.Remove(_cacheId, key, options);
 }
Exemplo n.º 4
0
		/// <summary>
		/// Removes the specified item from the cache, or does nothing if the item does not
		/// exist.
		/// </summary>
		/// <param name="key">The Key of the Item in the Cache to remove.</param>
		/// <param name="options"></param>
		public void Remove(string key, CacheRemoveOptions options)
		{
			_provider.Remove(_cacheId, key, options);
		}
		public void Remove(string key, CacheRemoveOptions options)
		{
			_cacheClient.Remove(key, options);
			LogRemove(key, options);
		}
		private void LogRemove(string key, CacheRemoveOptions options)
		{
			LogItem("remove", options != null ? options.Region : null, key, null);
		}
Exemplo n.º 7
0
 public void Remove(string key, CacheRemoveOptions options)
 {
     _cache.Remove(key);
 }