This commit is contained in:
ClemensF 2020-04-16 23:15:03 +02:00
parent 3ffb613f80
commit 310f0cca9a
21 changed files with 51 additions and 86 deletions

View file

@ -17,12 +17,7 @@ namespace MapControl.Caching
public ImageFileCache(StorageFolder folder)
{
if (folder == null)
{
throw new ArgumentNullException("The parameter rootFolder must not be null.");
}
this.folder = folder;
this.folder = folder ?? throw new ArgumentNullException("The parameter rootFolder must not be null.");
Debug.WriteLine("Created ImageFileCache in " + folder.Path);
}