Пример #1
0
 public void AddParticipant(Participant participant)
 {
     _participantManager.AddParticipant(participant);
 }
Пример #2
0
        public void RemovePendingParticipant(Participant participant)
        {
            var p = PendingParticipants.Where(p => p.Location.IpAddress == participant.Location.IpAddress && p.Location.PortNumber == participant.Location.PortNumber).FirstOrDefault();

            PendingParticipants.Remove(p);
        }