コード例 #1
0
 public MeetupAggregate(
     MeetupId id,
     MeetupTitle title,
     ValidatedLocation location,
     NumberOfSeats seats,
     MeetupState state,
     Dictionary <MemberId, DateTime> going,
     Dictionary <MemberId, DateTime> notGoing)
 {
     Id            = id;
     Title         = title;
     Location      = location;
     NumberOfSeats = seats;
     State         = state;
     _going        = going;
     _notGoing     = notGoing;
 }
コード例 #2
0
 public MeetupAggregate(MeetupId id, MeetupTitle title, ValidatedLocation location) =>