Join() public method

public Join ( ) : Join
return NetIRC.Messages.Send.Join
Example #1
0
 /// <summary>
 /// Join a specified channel based on the given Channel object.
 /// </summary>
 /// <param name="channel">The Channel to be used for connecting.</param>
 public void JoinChannel(Channel channel)
 {
     this.Send(channel.Join());
     this.Send(channel.GetTopic());
 }
Example #2
0
 /// <summary>
 /// Join a specified channel based on the given Channel object.
 /// </summary>
 /// <param name="channel">The Channel to be used for connecting.</param>
 public void JoinChannel(Channel channel)
 {
     this.Send(channel.Join());
     this.Send(channel.GetTopic());
 }