public Notification(Notification.Types aType, AObject aObject1, AObject aObject2 = null) { _type = aType; _object1 = aObject1; _object2 = aObject2; _time = DateTime.Now; }
public static void FireNotificationAdded(Notification.Types aType, AObject aObject) { if (OnNotificationAdded != null) { OnNotificationAdded(null, new EventArgs<Notification>(new Notification(aType, aObject))); } }
public void FireNotificationAdded(Notification.Types aType, AObject aObject1, AObject aObject2) { FireNotificationAdded(this, new EventArgs<Notification>(new Notification(aType, aObject1, aObject2))); }
public bool Remove(Notification aObject) { return base.Remove(aObject); }
public bool Add(Notification aObject) { return base.Add(aObject); }
public static void FireNotificationAdded(Notification.Types aType, AObject aObject) { var eventArgs = new EventArgs<Notification>(new Notification(aType, aObject)); OnNotificationAdded(null, eventArgs); }