Exemplo n.º 1
0
        private IConference BuildConference(Conference conference)
        {
            if (conference == null)
            {
                throw new ArgumentNullException(nameof(conference), "Cannot find current conference");
            }

            return(conferenceBuilder.Build(conference));
        }
Exemplo n.º 2
0
        private void When_I_Build_The_Domain_Model()
        {
            var conferenceBuilder = new ConferenceBuilder(_calendarItemRepository, new CalendarEntryBuilder());

            _domainModel = conferenceBuilder.Build(_source);
        }
 private void When_I_Build_The_Domain_Model()
 {
     var conferenceBuilder = new ConferenceBuilder(_calendarItemRepository, new CalendarEntryBuilder());
     _domainModel = conferenceBuilder.Build(_source);
 }