protected ChangeRequestHandler(IScheduleConnectorService scheduleConnectorService, IRequestCacheService requestCacheService, ISecretsService secretsService, IStringLocalizer <ChangeRequestTrigger> stringLocalizer)
 {
     _scheduleConnectorService = scheduleConnectorService ?? throw new ArgumentNullException(nameof(scheduleConnectorService));
     _requestCacheService      = requestCacheService ?? throw new ArgumentNullException(nameof(requestCacheService));
     _secretsService           = secretsService ?? throw new ArgumentNullException(nameof(secretsService));
     _stringLocalizer          = stringLocalizer ?? throw new ArgumentNullException(nameof(stringLocalizer));
 }
コード例 #2
0
 public ArticleController(IArticleService _articleService, IRequestCacheService _requestCacheService,
     ISitemapService _sitemapService)
 {
     articleService = _articleService;
     requestCacheService = _requestCacheService;
     sitemapService = _sitemapService;
 }
コード例 #3
0
 public CancelOpenShiftRequestHandler(TeamOrchestratorOptions teamOptions, FeatureOptions featureOptions, IScheduleConnectorService scheduleConnectorService, IScheduleCacheService scheduleCacheService, IRequestCacheService requestCacheService, ISecretsService secretsService, IStringLocalizer <ChangeRequestTrigger> stringLocalizer, ICacheService cacheService, IWfmActionService wfmActionService)
     : base(teamOptions, featureOptions, scheduleConnectorService, scheduleCacheService, requestCacheService, secretsService, stringLocalizer, cacheService, wfmActionService)
 {
 }
コード例 #4
0
 protected OpenShiftRequestHandler(TeamOrchestratorOptions teamOptions, FeatureOptions featureOptions, IScheduleConnectorService scheduleConnectorService, IScheduleCacheService scheduleCacheService, IRequestCacheService requestCacheService, ISecretsService secretsService, IStringLocalizer <ChangeRequestTrigger> stringLocalizer, ICacheService cacheService, IWfmActionService wfmActionService)
     : base(scheduleConnectorService, requestCacheService, secretsService, stringLocalizer)
 {
     _teamOptions          = teamOptions ?? throw new ArgumentNullException(nameof(teamOptions));
     _featureOptions       = featureOptions ?? throw new ArgumentNullException(nameof(featureOptions));
     _scheduleCacheService = scheduleCacheService ?? throw new ArgumentNullException(nameof(scheduleCacheService));
     _cacheService         = cacheService ?? throw new ArgumentNullException(nameof(cacheService));
     _wfmActionService     = wfmActionService ?? throw new ArgumentNullException(nameof(wfmActionService));
 }
コード例 #5
0
 public ShiftPreferenceChangeRequestHandler(IScheduleConnectorService scheduleConnectorService, IRequestCacheService requestCacheService, ISecretsService secretsService, IStringLocalizer <ChangeRequestTrigger> stringLocalizer, ICacheService cacheService, IWfmActionService wfmActionService, IAvailabilityMap availabilityMap)
     : base(scheduleConnectorService, requestCacheService, secretsService, stringLocalizer)
 {
     _cacheService     = cacheService ?? throw new ArgumentNullException(nameof(cacheService));
     _wfmActionService = wfmActionService ?? throw new ArgumentNullException(nameof(wfmActionService));
     _availabilityMap  = availabilityMap ?? throw new ArgumentNullException(nameof(availabilityMap));
 }
 public OpenShiftChangeHandler(IScheduleConnectorService scheduleConnectorService, IRequestCacheService requestCacheService, ISecretsService secretsService, IStringLocalizer <ChangeRequestTrigger> stringLocalizer)
     : base(scheduleConnectorService, requestCacheService, secretsService, stringLocalizer)
 {
 }
 public ShiftChangeHandler(TeamOrchestratorOptions teamOptions, IScheduleConnectorService scheduleConnectorService, IRequestCacheService requestCacheService, ISecretsService secretsService, IStringLocalizer <ChangeRequestTrigger> stringLocalizer, IScheduleCacheService scheduleCacheService, ISystemTimeService systemTimeService)
     : base(scheduleConnectorService, requestCacheService, secretsService, stringLocalizer)
 {
     _teamOptions          = teamOptions ?? throw new ArgumentNullException(nameof(teamOptions));
     _scheduleCacheService = scheduleCacheService ?? throw new ArgumentNullException(nameof(scheduleCacheService));
     _systemTimeService    = systemTimeService ?? throw new ArgumentNullException(nameof(systemTimeService));
 }
 public ShiftSwapFilterHandler(TeamOrchestratorOptions teamOptions, IScheduleConnectorService scheduleConnectorService, IRequestCacheService requestCacheService, ISecretsService secretsService, IStringLocalizer <ChangeRequestTrigger> stringLocalizer, IScheduleCacheService scheduleCacheService, ICacheService cacheService, IWfmDataService wfmDataService)
     : base(scheduleConnectorService, requestCacheService, secretsService, stringLocalizer)
 {
     _teamOptions          = teamOptions ?? throw new ArgumentNullException(nameof(teamOptions));
     _scheduleCacheService = scheduleCacheService ?? throw new ArgumentNullException(nameof(scheduleCacheService));
     _cacheService         = cacheService ?? throw new ArgumentNullException(nameof(cacheService));
     _wfmDataService       = wfmDataService ?? throw new ArgumentNullException(nameof(wfmDataService));
 }
コード例 #9
0
 public TranslationsService(IRequestCacheService requestCacheService, ISettingsProvider settingsProvider)
 {
     this.requestCacheService = requestCacheService;
     this.settingsProvider = settingsProvider;
 }