private Notification(NotificationType type, Exhibit exhibit, DateTime originalDateTime, string originalLocation) { Type = type; Exhibit = exhibit; OriginalDateTime = originalDateTime; OriginalLocation = originalLocation; DateTime = DateTime.Now; }
public static Notification ExhibitCanceled(Exhibit exhibit) { return(new Notification(NotificationType.ExhibitCanceled, exhibit)); }
public static Notification ExhibitUpdated(Exhibit newExhibit, DateTime originalDateTime, string originalLocation) { return(new Notification(NotificationType.ExhibitUpdated, newExhibit, originalDateTime, originalLocation)); }
private Notification(NotificationType type, Exhibit exhibit) { Type = type; Exhibit = exhibit; DateTime = DateTime.Now; }