Refactoring image cache

use parallel linq to preload images, should be faster
This commit is contained in:
bao-qian
2016-04-21 23:37:40 +01:00
parent 80f31f75ad
commit 03051a95cf
7 changed files with 48 additions and 62 deletions

View File

@@ -13,8 +13,7 @@ namespace Wox.Converters
{
return null;
}
return ImageLoader.ImageLoader.Load(value.ToString());
return App.ImageLoader.Load(value.ToString());
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)