protected DeltaActivity(WeekActivityOptions options, IWfmDataService wfmDataService, ITeamsService teamsService, IDeltaService <T> deltaService, ICacheService cacheService)
 {
     _options        = options ?? throw new ArgumentNullException(nameof(options));
     _wfmDataService = wfmDataService ?? throw new ArgumentNullException(nameof(wfmDataService));
     _teamsService   = teamsService ?? throw new ArgumentNullException(nameof(teamsService));
     _deltaService   = deltaService ?? throw new ArgumentNullException(nameof(deltaService));
     _cacheService   = cacheService ?? throw new ArgumentNullException(nameof(cacheService));
 }
 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));
 }
Пример #3
0
 public EmployeeCacheActivity(TeamOrchestratorOptions options, ICacheService cacheService, IWfmDataService wfmDataService, ITeamsService teamsService, IUserPrincipalMap userPrincipalMap, ISecretsService secretsService)
 {
     _options          = options ?? throw new ArgumentNullException(nameof(options));
     _cacheService     = cacheService ?? throw new ArgumentNullException(nameof(cacheService));
     _wfmDataService   = wfmDataService ?? throw new ArgumentNullException(nameof(wfmDataService));
     _teamsService     = teamsService ?? throw new ArgumentNullException(nameof(teamsService));
     _userPrincipalMap = userPrincipalMap ?? throw new ArgumentNullException(nameof(userPrincipalMap));
     _secretsService   = secretsService ?? throw new ArgumentNullException(nameof(secretsService));
 }
 public AvailabilityActivity(WeekActivityOptions options, IWfmDataService wfmDataService, ITeamsService teamsService, IDeltaService <EmployeeAvailabilityModel> deltaService, ICacheService cacheService)
     : base(options, wfmDataService, teamsService, deltaService, cacheService)
 {
 }
 public PrepareSyncActivity(IWfmDataService wfmDataService)
 {
     _wfmDataService = wfmDataService ?? throw new ArgumentNullException(nameof(wfmDataService));
 }
Пример #6
0
 protected ShiftActivityBase(WeekActivityOptions options, IWfmDataService wfmDataService, ITeamsService teamsService, IDeltaService <ShiftModel> deltaService, ICacheService cacheService, IScheduleCacheService scheduleCacheService)
     : base(options, wfmDataService, teamsService, deltaService, cacheService)
 {
     _scheduleCacheService = scheduleCacheService ?? throw new ArgumentNullException(nameof(scheduleCacheService));
 }
 public TimeOffWeekActivity(WeekActivityOptions options, IWfmDataService wfmDataService, ITeamsService teamsService, IDeltaService <TimeOffModel> deltaService, ICacheService cacheService, ITimeOffCacheService timeOffCacheService)
     : base(options, wfmDataService, teamsService, deltaService, cacheService)
 {
     _timeOffCacheService = timeOffCacheService ?? throw new ArgumentNullException(nameof(timeOffCacheService));
 }