public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { return(IconExtractor.Extract(Path.GetDirectoryName(value.ToString()), String.Empty, true)); }
public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { var item = value as DownloaderObjectModel; return(IconExtractor.Extract(item.Destination, item.Url, false)); }