Пример #1
0
        /// <summary>
        /// Flush All Cached Item.
        /// </summary>
        public void Flush()
        {
            if (_options.EnableLogging)
            {
                _logger?.LogInformation("Flush");
            }

            _cache.Clear(_name);
        }
Пример #2
0
        /// <summary>
        /// Flush All Cached Item.
        /// </summary>
        public override void BaseFlush()
        {
            if (_options.EnableLogging)
            {
                _logger?.LogInformation("Flush");
            }

            _cache.Clear();
        }
        /// <summary>
        /// Flush All Cached Item.
        /// </summary>
        public override void BaseFlush()
        {
            Logger?.LogDebug("Flush");

            _cache.Clear();
        }