src/Channels/ChannelContainer.cs
/// <summary>
/// Checks wheather the Connection is joined a specified channel.
/// </summary>
/// <param name="ChannelName">Channel to find.</param>
/// <returns>Returns true if joined otherwise false.</returns>
Checks wheather the Connection is joined a specified channel.
Checks wheather the Connection is joined a specified channel .
public bool IsOnChannel(string ChannelName)
        {
            for (int x = 0; x < channels.Count; x++)
                if (((Channel)channels[x]).Name.ToLower() == ChannelName.ToLower())
                    return true;
            return false;
        }
public bool IsOnChannel ( string ChannelName ) { for ( int x = 0 ; x < channels . Count ; x ++ ) if ( ( ( Channel ) channels [ x ] ) . Name . ToLower ( ) == ChannelName . ToLower ( ) ) return true ; return false ; }
Checks wheather the Connection is joined a specified channel.
Checks wheather the Connection is joined a specified channel .
Returns true if joined otherwise false.
Returns true if joined otherwise false .
ChannelName
string
Channel to find.
Channel to find .