Thresher 1.2 Class Documentation

Rfc2812Util.UserModesToArray Method 

Convert a string of UserModes characters to an array of UserMode enums.

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

Parameters

modes
A string of UserMode chars from the IRC server.

Return Value

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

See Also

Rfc2812Util Class | Sharkbite.Irc Namespace