public MeetingAttendeeAddedDomainEvent(
     MeetingId meetingId,
     MemberId attendeeId,
     DateTime rsvpDate,
     MeetingAttendeeRole role,
     int guestsNumber,
     MoneyValue fee)
 {
     MeetingId    = meetingId;
     AttendeeId   = attendeeId;
     RSVPDate     = rsvpDate;
     Role         = role;
     GuestsNumber = guestsNumber;
     Fee          = fee;
 }
Exemple #2
0
 public MeetingAttendeeAddedDomainEvent(
     MeetingId meetingId,
     MemberId attendeeId,
     DateTime rsvpDate,
     MeetingAttendeeRole role,
     int guestsNumber,
     decimal?feeValue,
     string feeCurrency)
 {
     MeetingId    = meetingId;
     AttendeeId   = attendeeId;
     RSVPDate     = rsvpDate;
     Role         = role;
     GuestsNumber = guestsNumber;
     FeeValue     = feeValue;
     FeeCurrency  = feeCurrency;
 }
 internal MemberCannotBeAttendeeOfMeetingMoreThanOnceRule(MeetingAttendeeRole meetingAttendeeRole)
 {
     _meetingAttendeeRole = meetingAttendeeRole;
 }
 internal MemberCannotHaveSetAttendeeRoleMoreThanOnceRule(MeetingAttendeeRole meetingAttendeeRole)
 {
     _meetingAttendeeRole = meetingAttendeeRole;
 }