TileImageLoader.DefaultCacheFolder

This commit is contained in:
ClemensFischer 2024-08-15 19:46:14 +02:00
parent 2b10cc1d34
commit 1f33cea5f2
7 changed files with 16 additions and 35 deletions

View file

@ -44,6 +44,12 @@ namespace MapControl
}
}
/// <summary>
/// Default folder path where a persistent cache implementation may save data, i.e. "C:\ProgramData\MapControl\TileCache".
/// </summary>
public static string DefaultCacheFolder =>
System.IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData), "MapControl", "TileCache");
/// <summary>
/// An IDistributedCache implementation used to cache tile images.
/// The default value is a MemoryDistributedCache instance.