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