コード例 #1
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));
 }
コード例 #2
0
 public ManagerAssignOpenShiftHandler(TeamOrchestratorOptions teamOptions, IScheduleConnectorService scheduleConnectorService, IRequestCacheService requestCacheService, ISecretsService secretsService, IStringLocalizer <Triggers.ChangeRequestTrigger> stringLocalizer, IScheduleCacheService scheduleCacheService, ICacheService cacheService, IWfmActionService wfmActionService)
     : 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));
     _wfmActionService     = wfmActionService ?? throw new ArgumentNullException(nameof(wfmActionService));
 }
コード例 #3
0
 protected SwapRequestHandler(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));
 }
コード例 #4
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)
 {
 }