C# Class PoEWhisperNotifier.MessageData

An immutable struct that provides information about a single PoE message.
Show file Open project: Kapps/PoEWhisperNotifier Class Usage Examples

Public Properties

Property Type Description
Date System.DateTime
Message string
MessageType LogMessageType
Sender string

Public Methods

Method Description
MessageData ( System.DateTime Date, string Sender, string Message, LogMessageType MessageType ) : System

Method Details

MessageData() public method

public MessageData ( System.DateTime Date, string Sender, string Message, LogMessageType MessageType ) : System
Date System.DateTime
Sender string
Message string
MessageType LogMessageType
return System

Property Details

Date public property

The date the message was parsed (may not be exactly when it was received).
public DateTime,System Date
return System.DateTime

Message public property

The contents of the message, as entered by the sender.
public string Message
return string

MessageType public property

The type of the message that was received (such as a whisper or disconnect).
public LogMessageType MessageType
return LogMessageType

Sender public property

The name of the user who sent the message. This value may be null for some message types.
public string Sender
return string