예제 #1
0
        public override bool Equals(object obj)
        {
            FriendGroupEntry entry = obj as FriendGroupEntry;

            if (entry == null)
            {
                return(false);
            }

            if (null == Text)
            {
                return(null == entry.Text);
            }

            return(Text?.Equals(entry.Text, System.StringComparison.InvariantCultureIgnoreCase) ?? null == entry.Text);
        }
예제 #2
0
 public void AddGroup(FriendGroupEntry group)
 {
     _groups[group.Text] = group;
 }