using System; namespace Nibriboard.Client.Messages { public class Message { /// /// The name of the event that this message is about. /// public readonly string Event = string.Empty; /// /// The date and time that this message was sent. /// public readonly DateTime TimeSent = DateTime.Now; public Message() { Event = this.GetType().Name.Replace("Message", ""); } } }