public ImageSource TryGetImage(IconId iconId, IconTheme theme, IThemedIconManagerPerThemeCache cache, OnError onerror) { var emojiIconId = iconId as EmojiIconId; var image = emojiIconId?.Emoji.Bitmap(); return image; }
public ImageSource TryGetImage(IconId iconId, IconTheme theme, IThemedIconManagerPerThemeCache cache, OnError onerror) { var emojiIconId = iconId as EmojiIconId; var image = emojiIconId?.Emoji.Bitmap(); return(image); }
public ImageSource TryGetImage(IconId iconId, IconTheme theme, IThemedIconManagerPerThemeCache cache, OnError onerror) { try { var emojiIconId = iconId as EmojiIconId; var image = emojiIconId?.Emoji.Bitmap(); return(image); } catch (Exception ex) { onerror.Handle(ex); return(null); } }