Fixed ArgumentExceptions

This commit is contained in:
ClemensF 2021-02-11 23:34:37 +01:00
parent 87ff5043f6
commit d4f5456dd5
10 changed files with 36 additions and 35 deletions

View file

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