using System; using System.Collections.Generic; using System.Text; using System.Runtime.Serialization; namespace MT.Platform.Common { /// /// Abstract base class for all NotificationBroker messages. /// public class Notification { /// /// Constructor to initialize content values. /// public Notification() { this.Stamp = DateTime.Now; this.Id = Guid.NewGuid(); } private Guid id; /// /// Notification identier. /// public Guid Id { get { return id; } set { id = value; } } private DateTime stamp; /// /// Notification creator's time stamp. /// public DateTime Stamp { get { return stamp; } set { stamp = value; } } private string sender; /// /// Sender identification of notification. Used so not to send back to publisher? /// public string Sender { get { return sender; } set { sender = value; } } } }