Ejemplo n.º 1
0
 /// <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");
 }
Ejemplo n.º 2
0
 public PixivReplyEmojiViewModel(PixivReplyEmoji emojiEnumValue, IRandomAccessStream imageStream)
 {
     EmojiEnumValue = emojiEnumValue;
     ImageStream    = imageStream;
 }
Ejemplo n.º 3
0
 /// <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()})");
 }