private bool shouldSkipCacheInvalidationCommands(string commandText)
        {
            var result = _cacheSettings.SkipCacheInvalidationCommands != null && _cacheSettings.SkipCacheInvalidationCommands(commandText);

            if (result)
            {
                _logger.LogDebug($"Skipped invalidating the related cache entries of this query[{commandText}] based on the provided predicate.");
            }
            return(result);
        }
 private bool shouldSkipCacheInvalidationCommands(string commandText)
 {
     return(_cacheSettings.SkipCacheInvalidationCommands != null && _cacheSettings.SkipCacheInvalidationCommands(commandText));
 }