Example #1
0
 public static Notification GigCanceled(Gig gig)
 {
     return(new Notification(NotificationType.GigCanceled, gig));
 }
Example #2
0
 private Notification(NotificationType type, Gig gig)
 {
     Type     = type;
     Gig      = gig ?? throw new ArgumentNullException("gig");
     DateTime = DateTime.Now;
 }