/// <summary> /// Remove user to People collection. Use if client /// parts. /// </summary> /// <param name="person">Person to remove</param> public void RemoveUser(IrcPerson person) { lock (_lock) { _people.Remove(person); } }
public IrcPersonConversation(IrcSession session, IrcPerson person) : base(session) { _person = person; }
/// <summary> /// Add user to People collection. Use if new client /// connects to channel /// </summary> /// <param name="person">New person</param> public void AddUser(IrcPerson person) { lock (_lock) { if (!_people.Contains(person)) { _people.Add(person); } } }