Show / Hide Table of Contents

Class IrcMessage

Inheritance
System.Object
IrcMessage
JoinMessage
KickMessage
NickMessage
NoticeMessage
PartMessage
PasswordMessage
PingMessage
PongMessage
PrivateMessage
QuitMessage
RplCreatedMessage
RplISupportMessage
RplMyInfoMessage
RplNamReplyMessage
RplWelcomeMessage
RplYourHostMessage
UserMessage
UserModeMessage
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.Messages
Assembly: GravyIrc.dll
Syntax
public abstract class IrcMessage

Properties

| Improve this Doc View Source

DateReceived

Date when message came in or was spawned

Declaration
public DateTime DateReceived { get; }
Property Value
Type Description
System.DateTime

Methods

| Improve this Doc View Source

Create(ParsedIrcMessage)

Declaration
public static IServerMessage Create(ParsedIrcMessage parsedMessage)
Parameters
Type Name Description
ParsedIrcMessage parsedMessage
Returns
Type Description
IServerMessage
| Improve this Doc View Source

RegisterServerMessageType(Type)

Register an additional server message type

Declaration
public static void RegisterServerMessageType(Type messageType)
Parameters
Type Name Description
System.Type messageType

Type of message to add

Remarks

Used to extend built-in message types

| Improve this Doc View Source

RegisterServerMessageType(Type, String)

Register an additional server message type

Declaration
public static void RegisterServerMessageType(Type messageType, string command)
Parameters
Type Name Description
System.Type messageType

Type of message to add

System.String command

IRC command to associate message type with

Remarks

Used to extend built-in message types

| Improve this Doc View Source

RegisterServerMessageType<TMessage>()

Register an additional server message type

Declaration
public static void RegisterServerMessageType<TMessage>()
    where TMessage : IServerMessage
Type Parameters
Name Description
TMessage

Type of message to add

Remarks

Used to extend built-in message types

| Improve this Doc View Source

RegisterServerMessageType<TMessage>(String)

Register an additional server message type

Declaration
public static void RegisterServerMessageType<TMessage>(string command)
    where TMessage : IServerMessage
Parameters
Type Name Description
System.String command

IRC command to associate message type with

Type Parameters
Name Description
TMessage

Type of message to add

Remarks

Used to extend built-in message types

| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()
  • Improve this Doc
  • View Source
Back to top Generated by DocFX