public ReservationRejectedEvent(Guid id, DateTime date, string name, string email, int quantity) { if (id == Guid.Empty) { throw new ArgumentException("Guid.Empty is not a valid value for id.", "id"); } if (name == null) { throw new ArgumentNullException("name"); } if (email == null) { throw new ArgumentNullException("email"); } this.id = id; this.date = date; this.name = name; this.email = email; this.quantity = quantity; }