Beispiel #1
0
        public void AddFriendRequest(FriendRequest fr)
        {
            string id = fr.ID;

            try
            {
                requests.Add(id, fr);
            }
            catch (ArgumentException)
            {
                //duplicated request
            }
        }
Beispiel #2
0
 public void RemoveFriendRequest(FriendRequest fr)
 {
     requests.Remove(fr.ID);
 }