Thresher 1.2 Class Documentation

Rfc2812Util.ChannelModesToArray Method 

Convert a string of ChannelModes characters to an array of ChannelMode enums.

[Visual Basic]
Public Shared Function ChannelModesToArray( _
   ByVal modes As String _
) As ChannelMode()
[C#]
public static ChannelMode[] ChannelModesToArray(
   string modes
);

Parameters

modes
A string of ChannelMode chars from the IRC server.

Return Value

An array of ChannelMode enums. Charactres that are not from RFC2812 will be droppped.

See Also

Rfc2812Util Class | Sharkbite.Irc Namespace