Exemple #1
0
 protected void OnMeetingScheduled(MeetingScheduledEvent @event)
 {
     _title = @event.Title;
       _description = @event.Description;
       _location = @event.Location;
       _scheduledFor = @event.ScheduledFor;
 }
Exemple #2
0
        public Meeting(Guid meetingId, String title, String description, String location, DateTime scheduledFor)
            : base(meetingId)
        {
            var @event = new MeetingScheduledEvent {
            MeetingId = meetingId,
            Title = title,
            Description = description,
            Location = location,
            ScheduledFor = scheduledFor
              };

              ApplyEvent(@event);
        }