From 07772c762659c9adb2ea94125a6318ccb88aebb9 Mon Sep 17 00:00:00 2001 From: ClemensFischer Date: Sat, 29 Mar 2025 11:45:36 +0100 Subject: [PATCH] Update ImageFileCache.cs --- MapControl/Shared/ImageFileCache.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MapControl/Shared/ImageFileCache.cs b/MapControl/Shared/ImageFileCache.cs index b4449ad2..9d752ae5 100644 --- a/MapControl/Shared/ImageFileCache.cs +++ b/MapControl/Shared/ImageFileCache.cs @@ -12,6 +12,11 @@ namespace MapControl.Caching { /// /// IDistributedCache implementation based on local files. + ///
+ /// Do not create an ImageFileCache instance that operates on a directory + /// which contains other files than downloaded map tile images. + /// ImageFileCache may unintentionally delete these files. + /// ///
public sealed class ImageFileCache : IDistributedCache, IDisposable {