示例#1
0
 public Notification(Notification.Types aType, AObject aObject1, AObject aObject2 = null)
 {
     _type = aType;
     _object1 = aObject1;
     _object2 = aObject2;
     _time = DateTime.Now;
 }
示例#2
0
 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)));
		}
示例#4
0
 public bool Remove(Notification aObject)
 {
     return base.Remove(aObject);
 }
示例#5
0
 public bool Add(Notification aObject)
 {
     return base.Add(aObject);
 }
示例#6
0
		public static void FireNotificationAdded(Notification.Types aType, AObject aObject)
		{
			var eventArgs = new EventArgs<Notification>(new Notification(aType, aObject));
			OnNotificationAdded(null, eventArgs);
		}