Exemple #1
0
        public static string Neutral(eNeutral type)
        {
            var rand = new Random();

            return(Emoji.Neutral.TryGetValue(type, out var list)
                ? list[rand.Next(list.Count)]
                : string.Empty);
        }
Exemple #2
0
 public string Neutral(eNeutral type)
 {
     return(Emoji.Neutral.TryGetValue(type, out var list)
         ? list[_randomizer.Next(list.Count)]
         : string.Empty);
 }