Ejemplo n.º 1
0
 private void BuildWhoReplyForChannelUser()
 {
     foreach (var user in _resultChannel.Property.ChannelUsers)
     {
         _sendingBuffer +=
             WHOReply.BuildWhoReply(
                 _resultChannel.Property.ChannelName,
                 user.UserInfo, user.GetUserModes());
     }
     _sendingBuffer +=
         WHOReply.BuildEndOfWhoReply(_resultChannel.Property.ChannelName);
 }
Ejemplo n.º 2
0
 private void BuildWhoReplyForUser()
 {
     foreach (var channel in _resultSession.UserInfo.JoinedChannels)
     {
         ChatChannelUser user;
         channel.GetChannelUserBySession(_resultSession, out user);
         _sendingBuffer +=
             WHOReply.BuildWhoReply(
                 channel.Property.ChannelName,
                 _resultSession.UserInfo,
                 user.GetUserModes());
     }
     _sendingBuffer +=
         WHOReply.BuildEndOfWhoReply(_resultSession.UserInfo.NickName);
 }