Example #1
0
 public void Remove(string key, CacheRemoveOptions options)
 {
     _cacheClient.Remove(key, options);
     LogRemove(key, options);
 }
Example #2
0
 private void LogRemove(string key, CacheRemoveOptions options)
 {
     LogItem("remove", options.Region, key, null);
 }
Example #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);
 }
Example #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);
		}
Example #7
0
 public void Remove(string key, CacheRemoveOptions options)
 {
     _cache.Remove(key);
 }