Bloom.ImageProcessing.LowResImageCache.OnBookRenamed C# (CSharp) Method

OnBookRenamed() private method

private OnBookRenamed ( string>.KeyValuePair fromPathAndToPath ) : void
fromPathAndToPath string>.KeyValuePair
return void
        private void OnBookRenamed(KeyValuePair<string, string> fromPathAndToPath)
        {
            //Note, we don't pay attention to what the change was, we just purge the whole cache

            TryToDeleteCachedImages();
            _paths = new Dictionary<string, string>();
        }