public BitmapImage FindPreviewImage(StorageItemTypeEnum type)
 {
     Lock();
     _images.TryGetValue(type, out BitmapImage value);
     UnLock();
     return(value);
 }
 public void Registry(BitmapImage image, StorageItemTypeEnum type)
 {
     Lock();
     if (_images.ContainsKey(type))
     {
         throw new ArgumentException("This type has already registered");
     }
     _images.Add(type, image);
     UnLock();
 }