Exemplo n.º 1
0
 internal void OnUserParted(IrcChannel channel, IrcChannelUser user)
 {
     if (UserParted != null)
     {
         UserParted(_connection, new ChannelUserEventArgs(channel, user));
     }
 }
Exemplo n.º 2
0
 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);
     }
 }