Show / Hide Table of Contents

Class ParsedIrcMessage

Represents a parsed IRC message, providing information about it

Inheritance
System.Object
ParsedIrcMessage
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: GravyIrc
Assembly: GravyIrc.dll
Syntax
public class ParsedIrcMessage

Constructors

| Improve this Doc View Source

ParsedIrcMessage(String)

Initializes a new instance of ParsedIRCMessage, parsing the raw data

Declaration
public ParsedIrcMessage(string rawData)
Parameters
Type Name Description
System.String rawData

Raw data to be parsed

Properties

| Improve this Doc View Source

Command

The command received

Declaration
public string Command { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

IrcCommand

An Enum representing the IRC command

Declaration
public IrcCommand IrcCommand { get; }
Property Value
Type Description
IrcCommand
| Improve this Doc View Source

IsNumeric

Provides you a way to quickly check if the message is a numeric reply

Declaration
public bool IsNumeric { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

NumericReply

An Enum representing the IRC numeric reply

Declaration
public IrcNumericReply NumericReply { get; }
Property Value
Type Description
IrcNumericReply
| Improve this Doc View Source

Parameters

Provides all parameters received in the message

Declaration
public string[] Parameters { get; }
Property Value
Type Description
System.String[]
| Improve this Doc View Source

Prefix

The prefix of the message

Declaration
public IrcPrefix Prefix { get; }
Property Value
Type Description
IrcPrefix
| Improve this Doc View Source

Raw

The raw message received from the server

Declaration
public string Raw { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Trailing

Represents the last parameters in the message

Declaration
public string Trailing { get; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

ToString()

Returns a string that represents the parsed IRC message

Declaration
public override string ToString()
Returns
Type Description
System.String

String that represents the parsed IRC message

Overrides
System.Object.ToString()
  • Improve this Doc
  • View Source
Back to top Generated by DocFX