/// <summary> /// Gets the by prefix. /// </summary> /// <returns>The by prefix.</returns> /// <param name="prefix">Prefix.</param> /// <typeparam name="T">The 1st type parameter.</typeparam> public override IDictionary <string, CacheValue <T> > BaseGetByPrefix <T>(string prefix) { ArgumentCheck.NotNullOrWhiteSpace(prefix, nameof(prefix)); var map = new Dictionary <string, CacheValue <T> >(); if (_options.EnableLogging) { _logger?.LogInformation($"GetByPrefix : prefix = {prefix}"); } return(_cache.GetByPrefix <T>(prefix)); }
/// <summary> /// Gets the by prefix. /// </summary> /// <returns>The by prefix.</returns> /// <param name="prefix">Prefix.</param> /// <typeparam name="T">The 1st type parameter.</typeparam> public override IDictionary <string, CacheValue <T> > BaseGetByPrefix <T>(string prefix) { ArgumentCheck.NotNullOrWhiteSpace(prefix, nameof(prefix)); Logger?.LogDebug("GetByPrefix : prefix = {0}", prefix); return(_cache.GetByPrefix <T>(prefix)); }