IrcStatement MembersNetIRC2 IRC Client Library for .NET

The IrcStatement type exposes the following members.
Constructors

  NameDescription
Public methodIrcStatement 
Creates an IRC statement with nothing set.
Public methodIrcStatement(IrcIdentity, IrcString,  IrcString )
Creates an IRC statement.
Back to Top
Methods

  NameDescription
Public methodToByteArray 
Converts the IRC statement into a byte array, including the ending CR+LF.
Public methodToByteArray(Boolean )
Converts the IRC statement into a byte array, including the ending CR+LF, and additionally returns whether the string was truncated.
Public methodToIrcString 
Converts the IRC statement into an IRC string containing all of its bytes, including the ending CR+LF.
Public methodToIrcString(Boolean )
Converts the IRC statement into an IRC string containing all of its bytes, including the ending CR+LF, and additionally returns whether the string was truncated.
Public methodStatic memberTryParse( Byte , Int32 , Int32, IrcStatement )
Tries to read a buffer and parse out an IRC statement.
Public methodStatic memberTryParse( Byte , Int32 , Int32, IrcStatement , IrcStatementParseResult )
Tries to read a buffer and parse out an IRC statement. Additionally, on failure, the reason for failure is returned.
Back to Top
Properties

  NameDescription
Public propertyCommand
The command, or if the IRC statement is a reply, a three-digit number.
Public propertyParameters
The parameters of the statement.
Public propertyReplyCode
The numeric reply code, if the IRC statement is a reply.
Public propertySource
The source of the statement, if any. This is called the prefix in the IRC specification.
Back to Top
See Also