Пример #1
0
        public MessengerObject SendFriendRequest(IBefriendable befriendable)
        {
            MessengerObject messenger = befriendable.GetMessenger();

            if (messenger != null)
            {
                messenger.ReceiveFriendRequest(Owner);
            }
            return(this);
        }
Пример #2
0
 public Category(MessengerObject owner, int id)
 {
     Owner   = owner;
     ID      = id;
     Friends = new Dictionary <int, IBefriendable>();
 }
Пример #3
0
 public Category(MessengerObject owner, int id)
 {
     Owner = owner;
     ID = id;
     Friends = new Dictionary<int, IBefriendable>();
 }