public bool Exists(string key) { if (string.IsNullOrWhiteSpace(key)) { throw new ArgumentNullException(nameof(key)); } return(_cache.Exists(key)); }
/// <summary> /// Exists the specified cacheKey. /// </summary> /// <returns>The exists.</returns> /// <param name="cacheKey">Cache key.</param> public override bool BaseExists(string cacheKey) { ArgumentCheck.NotNullOrWhiteSpace(cacheKey, nameof(cacheKey)); return(_cache.Exists(cacheKey)); }
public bool Exists(string cacheKey) { ArgumentCheck.NotNullOrWhiteSpace(cacheKey, nameof(cacheKey)); return(_caching.Exists(cacheKey)); }
/// <summary> /// Exists the specified cacheKey. /// </summary> /// <returns>The exists.</returns> /// <param name="cacheKey">Cache key.</param> public bool Exists(string cacheKey) { ArgumentCheck.NotNullOrWhiteSpace(cacheKey, nameof(cacheKey)); return(_cache.Exists(BuildCacheKey(Name, cacheKey))); }