public SpeakerController(IConferenceLoader conferenceLoader, ISessionLoaderFactory sessionLoaderFactory, IUserProfileRepository userProfileRepository, IUserProfileFilterFactory userProfileFilterFactory) { if (conferenceLoader == null) { throw new ArgumentNullException("conferenceLoader"); } if (sessionLoaderFactory == null) { throw new ArgumentNullException("sessionLoaderFactory"); } if (userProfileRepository == null) { throw new ArgumentNullException("userProfileRepository"); } if (userProfileFilterFactory == null) { throw new ArgumentNullException("userProfileFilterFactory"); } this.conferenceLoader = conferenceLoader; this.sessionLoaderFactory = sessionLoaderFactory; this.userProfileRepository = userProfileRepository; this.userProfileFilterFactory = userProfileFilterFactory; }