/// <summary> /// Returns the url of the png image of the <see cref="PixivReplyEmoji" /> /// </summary> public static string GetReplyEmojiDownloadUrl(this PixivReplyEmoji emoji) { return($"https://s.pximg.net/common/images/emoji/{(int) emoji}.png"); }
public PixivReplyEmojiViewModel(PixivReplyEmoji emojiEnumValue, IRandomAccessStream imageStream) { EmojiEnumValue = emojiEnumValue; ImageStream = imageStream; }
/// <summary> /// Returns the placeholder of the emoji in the reply content which has a form of /// "(emoji_name)" /// </summary> public static string GetReplyEmojiPlaceholderKey(this PixivReplyEmoji emoji) { return($"({emoji.ToString().ToLowerInvariant()})"); }