public MeetSheetOnlyModel( IMeetsService meetsService, IHostingEnvironment hostingEnvironment) { _meetsService = meetsService ?? throw new ArgumentNullException(nameof(meetsService)); _hostingEnvironment = hostingEnvironment ?? throw new ArgumentNullException(nameof(hostingEnvironment)); }
public FullSchedulePreviewModel( IMeetsService meetsService, IHostingEnvironment hostingEnvironment) { _meetsService = meetsService ?? throw new ArgumentNullException(nameof(meetsService)); _hostingEnvironment = hostingEnvironment ?? throw new ArgumentNullException(nameof(hostingEnvironment)); }
public TestController( ILogger logger, IEmailAddressService emailAddressService, IEmailSenderService emailSenderService, IMeetsService meetsService) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _emailAddressService = emailAddressService ?? throw new ArgumentNullException(nameof(emailAddressService)); _emailSenderService = emailSenderService ?? throw new ArgumentNullException(nameof(emailSenderService)); _meetsService = meetsService ?? throw new ArgumentNullException(nameof(meetsService)); }
public EmailController( ISettings settings, ILogger logger, IEmailAddressService emailAddressService, IEmailSenderService emailSenderService, IMeetsService meetsService, IHostingEnvironment hostingEnvironment) { if (settings == null) { throw new ArgumentNullException(nameof(settings)); } _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _emailAddressService = emailAddressService ?? throw new ArgumentNullException(nameof(emailAddressService)); _emailSenderService = emailSenderService ?? throw new ArgumentNullException(nameof(emailSenderService)); _meetsService = meetsService ?? throw new ArgumentNullException(nameof(meetsService)); _hostingEnvironment = hostingEnvironment ?? throw new ArgumentNullException(nameof(hostingEnvironment)); _meetsPageUrl = settings.GetValidString(SettingName_MeetsPageUrl); }
public MeetSheetLeaderPreview(IMeetsService meetsService) { _meetsService = meetsService ?? throw new ArgumentNullException(nameof(meetsService)); }