2using System.Collections.Generic;
 
   41            ArgumentNullException.ThrowIfNull(chatChannel);
 
   44                throw new ArgumentException(
"IrcChannel must be set!", nameof(chatChannel));
 
   46            return chatChannel.
IrcChannel.Split(
new[] { 
':' }, StringSplitOptions.RemoveEmptyEntries);
 
 
 
Extensions for the ChatChannel class.
 
static string GetIrcChannelName(this ChatChannel chatChannel)
Gets the IRC channel name from a given chatChannel .
 
static ? string GetIrcChannelKey(this ChatChannel chatChannel)
Gets the IRC channel key from a given chatChannel .
 
static IReadOnlyCollection< string > GetIrcChannelSplits(ChatChannel chatChannel)
Split a given chatChannel 's ChatChannel.IrcChannel.
 
string? IrcChannel
The IRC channel name.