Show / Hide Table of Contents

Class NoticeMessage

A notice messgage sent to a user or channel

Inheritance
System.Object
IrcMessage
NoticeMessage
Implements
IServerMessage
IChannelMessage
IClientMessage
Inherited Members
IrcMessage.RegisterServerMessageType<TMessage>()
IrcMessage.RegisterServerMessageType<TMessage>(String)
IrcMessage.RegisterServerMessageType(Type)
IrcMessage.RegisterServerMessageType(Type, String)
IrcMessage.Create(ParsedIrcMessage)
IrcMessage.ToString()
IrcMessage.DateReceived
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
[ServerMessage("NOTICE")]
public class NoticeMessage : IrcMessage, IServerMessage, IChannelMessage, IClientMessage

Constructors

| Improve this Doc View Source

NoticeMessage(ParsedIrcMessage)

Creates a new instance from an incoming server message

Declaration
public NoticeMessage(ParsedIrcMessage parsedMessage)
Parameters
Type Name Description
ParsedIrcMessage parsedMessage

Incoming message

| Improve this Doc View Source

NoticeMessage(String, String)

Creates and outbound message instance

Declaration
public NoticeMessage(string target, string text)
Parameters
Type Name Description
System.String target

Nick or channel to notify

System.String text

Content of notice

Properties

| Improve this Doc View Source

From

Nick of user who sent the notice

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

IsChannelMessage

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

Message

Content of the message

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

Target

Nick or channel name notice was sent to

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

Tokens

Declaration
public IEnumerable<string> Tokens { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.String>

Implements

IServerMessage
IChannelMessage
IClientMessage
  • Improve this Doc
  • View Source
Back to top Generated by DocFX