예제 #1
0
 private Notification(NotificationType type, Exhibit exhibit, DateTime originalDateTime, string originalLocation)
 {
     Type             = type;
     Exhibit          = exhibit;
     OriginalDateTime = originalDateTime;
     OriginalLocation = originalLocation;
     DateTime         = DateTime.Now;
 }
예제 #2
0
 public static Notification ExhibitCanceled(Exhibit exhibit)
 {
     return(new Notification(NotificationType.ExhibitCanceled, exhibit));
 }
예제 #3
0
 public static Notification ExhibitUpdated(Exhibit newExhibit, DateTime originalDateTime, string originalLocation)
 {
     return(new Notification(NotificationType.ExhibitUpdated, newExhibit, originalDateTime, originalLocation));
 }
예제 #4
0
 private Notification(NotificationType type, Exhibit exhibit)
 {
     Type     = type;
     Exhibit  = exhibit;
     DateTime = DateTime.Now;
 }