Kooboo.Commerce.Multilingual.Storage.CachedTranslactionStore.RemoveCache C# (CSharp) Method

RemoveCache() private method

private RemoveCache ( CultureInfo culture, EntityKey entityKey ) : void
culture System.Globalization.CultureInfo
entityKey EntityKey
return void
        private void RemoveCache(CultureInfo culture, EntityKey entityKey)
        {
            _lock.EnterWriteLock();

            try
            {
                if (_cache.ContainsKey(culture))
                {
                    _cache[culture].Remove(entityKey);
                }
            }
            finally
            {
                _lock.ExitWriteLock();
            }
        }