src/Channels/ChannelContainer.cs
/// <summary>
/// Gtes a channel from its name.
/// </summary>
/// <param name="ChannelName">The channel name to find.</param>
/// <returns>A channel.</returns>
Gtes a channel from its name.
Gtes a channel from its name .
public Channel GetChannel(string ChannelName)
        {
            for (int x = 0; x < channels.Count; x++)
                if (((Channel)channels[x]).Name.ToLower() == ChannelName.ToLower())
                    return GetChannel(x);
            return null;
        }
public Channel GetChannel ( string ChannelName ) { for ( int x = 0 ; x < channels . Count ; x ++ ) if ( ( ( Channel ) channels [ x ] ) . Name . ToLower ( ) == ChannelName . ToLower ( ) ) return GetChannel ( x ) ; return null ; }
Gtes a channel from its name.
Gtes a channel from its name .
None
ChannelName
string
The channel name to find.
The channel name to find .