internal void OnUserParted(IrcChannel channel, IrcChannelUser user) { if (UserParted != null) { UserParted(_connection, new ChannelUserEventArgs(channel, user)); } }
private IrcChannelUser this[Guid guid] { get { IrcChannelUser user; if (!_channel._userObjects.TryGetValue(guid, out user)) { _channel._userObjects[guid] = user = new IrcChannelUser(guid, _channel); } return(user); } }