コード例 #1
0
 public PerformerSchedulingController(ILogger <PerformerSchedulingController> logger,
                                      ServiceFacade.Controller context,
                                      PerformerSchedulingService performerSchedulingService)
     : base(context)
 {
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
     _performerSchedulingService = performerSchedulingService
                                   ?? throw new ArgumentNullException(nameof(performerSchedulingService));
     PageTitle = "Performer Scheduling";
 }
コード例 #2
0
 public HomeController(ILogger <HomeController> logger,
                       ServiceFacade.Controller context,
                       AuthenticationService authenticationService,
                       PerformerSchedulingService performerSchedulingService,
                       UserService userService) : base(context)
 {
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
     _authenticationService = authenticationService
                              ?? throw new ArgumentNullException(nameof(authenticationService));
     _performerSchedulingService = performerSchedulingService
                                   ?? throw new ArgumentNullException(nameof(performerSchedulingService));
     _userService = userService ?? throw new ArgumentNullException(nameof(userService));
     PageTitle    = "Performer Registration";
 }
コード例 #3
0
 public HomeController(ILogger <HomeController> logger,
                       ServiceFacade.Controller context,
                       ActivityService activityService,
                       AvatarService avatarService,
                       CarouselService carouselService,
                       DailyLiteracyTipService dailyLiteracyTipService,
                       DashboardContentService dashboardContentService,
                       EmailManagementService emailManagementService,
                       EmailReminderService emailReminderService,
                       EventService eventService,
                       LanguageService languageService,
                       PerformerSchedulingService performerSchedulingService,
                       SiteService siteService,
                       SocialService socialService,
                       UserService userService,
                       VendorCodeService vendorCodeService)
     : base(context)
 {
     _logger          = logger ?? throw new ArgumentNullException(nameof(logger));
     _activityService = activityService
                        ?? throw new ArgumentNullException(nameof(activityService));
     _avatarService = avatarService
                      ?? throw new ArgumentNullException(nameof(avatarService));
     _carouselService = carouselService
                        ?? throw new ArgumentNullException(nameof(carouselService));
     _dailyLiteracyTipService = dailyLiteracyTipService
                                ?? throw new ArgumentNullException(nameof(dailyLiteracyTipService));
     _dashboardContentService = dashboardContentService
                                ?? throw new ArgumentNullException(nameof(dashboardContentService));
     _emailManagementService = emailManagementService
                               ?? throw new ArgumentNullException(nameof(emailManagementService));
     _emailReminderService = emailReminderService
                             ?? throw new ArgumentNullException(nameof(emailReminderService));
     _eventService = eventService
                     ?? throw new ArgumentNullException(nameof(eventService));
     _languageService = languageService
                        ?? throw new ArgumentNullException(nameof(languageService));
     _performerSchedulingService = performerSchedulingService
                                   ?? throw new ArgumentNullException(nameof(performerSchedulingService));
     _siteService   = siteService ?? throw new ArgumentNullException(nameof(siteService));
     _socialService = socialService
                      ?? throw new ArgumentNullException(nameof(socialService));
     _userService       = userService ?? throw new ArgumentNullException(nameof(userService));
     _vendorCodeService = vendorCodeService
                          ?? throw new ArgumentNullException(nameof(vendorCodeService));
 }
コード例 #4
0
 public UserFilter(ILogger <UserFilter> logger,
                   ITempDataDictionaryFactory tempDataFactory,
                   MailService mailService,
                   PerformerSchedulingService performerSchedulingService,
                   UserService userService,
                   IUserContextProvider userContextProvider)
 {
     _logger          = logger ?? throw new ArgumentNullException(nameof(logger));
     _tempDataFactory = tempDataFactory
                        ?? throw new ArgumentNullException(nameof(tempDataFactory));
     _mailService = mailService ?? throw new ArgumentNullException(nameof(mailService));
     _performerSchedulingService = performerSchedulingService
                                   ?? throw new ArgumentNullException(nameof(performerSchedulingService));
     _userService         = userService ?? throw new ArgumentNullException(nameof(userService));
     _userContextProvider = userContextProvider
                            ?? throw new ArgumentNullException(nameof(userContextProvider));
 }
コード例 #5
0
 public MissionControlFilter(ILogger <MissionControlFilter> logger,
                             IUserContextProvider userContextProvider,
                             MailService mailService,
                             PerformerSchedulingService performerSchedulingService,
                             QuestionnaireService questionnaireService,
                             UserService userService)
 {
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
     _userContextProvider = userContextProvider
                            ?? throw new ArgumentNullException(nameof(userContextProvider));
     _mailService = mailService ?? throw new ArgumentNullException(nameof(mailService));
     _performerSchedulingService = performerSchedulingService
                                   ?? throw new ArgumentNullException(nameof(performerSchedulingService));
     _questionnaireService = questionnaireService
                             ?? throw new ArgumentNullException(nameof(questionnaireService));
     _userService = userService ?? throw new ArgumentNullException(nameof(userService));
 }