コード例 #1
0
        public void AddMention(Mention mention)
        {
            if (Mentions == null)
            {
                Mentions = new List <Mention>();
            }

            if (Mentions.FirstOrDefault(x => x.MentionerId == mention.MentionerId) == null)
            {
                Mentions.Add(mention);
            }
        }