Beispiel #1
0
        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);
            }
        }