IrcDotNet.IrcClient.SendMessageJoin C# (CSharp) Method

SendMessageJoin() protected method

protected SendMessageJoin ( string>.IEnumerable channels ) : void
channels string>.IEnumerable A collection of 2-tuples of the names and keys of the channels to join.
return void
        protected void SendMessageJoin(IEnumerable<Tuple<string, string>> channels)
        {
            var secureChannels = channels.Select(c =>
            {
                EnsureChannelName(c.Item1);
                return c;
            }).ToList();
            WriteMessage(null, "join", string.Join(",", secureChannels.Select(c => c.Item1)),
                string.Join(",", secureChannels.Select(c => c.Item2)));
        }

Same methods

IrcClient::SendMessageJoin ( IEnumerable channels ) : void
IrcClient