private BitmapSource GetIconFreeze(FSItemInfo itemInfo, bool isSmall) { var icon = _iconService.GetIcon(itemInfo, isSmall); icon.Freeze(); return(icon); }
private BitmapSource GetIcon(FSItemInfo itemInfo, bool isSmall = true) => _iconServiceProxy.GetIcon(itemInfo, isSmall);