Ejemplo n.º 1
0
        private Notifications(NotificationType type, Reclamations reclamation)
        {
            if (reclamation == null)
            {
                throw new ArgumentNullException("reclamation");
            }

            Type        = type;
            Reclamation = reclamation;
            DateTime    = DateTime.Now;
        }
Ejemplo n.º 2
0
 public static Notifications ReclamationCreated(Reclamations reclamation)
 {
     return(new Notifications(NotificationType.ReclamationCreated, reclamation));
 }