IObservable <BitmapSource> ResolveImage(SuggestionItem uri) { if (uri.ImageUrl != null) { return(avatarProvider.GetAvatar(uri.ImageUrl)); } return(Observable.Return(AvatarProvider.CreateBitmapImage(DefaultAvatar))); }
IObservable <BitmapSource> ResolveImage(SuggestionItem uri) { if (uri.ImageUrl != null) { return(avatarProvider.GetAvatar(uri.ImageUrl)); } return(Observable.Return(AvatarProvider.CreateBitmapImage(DefaultAvatar))); }