friends caching

small improvements
This commit is contained in:
2011-04-09 01:47:50 +03:00
parent 9c59a73113
commit a297460f37
11 changed files with 323 additions and 122 deletions
@@ -23,6 +23,10 @@ namespace WPImageCaching
{
return ImageCache.GetImage((BitmapImage)value);
}
if (value is string && !string.IsNullOrEmpty(value as string))
{
return ImageCache.GetImage((string)value);
}
else
{
return value;