Ejemplo n.º 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));
 }
Ejemplo n.º 2
0
 public TeamsService(MicrosoftGraphOptions options, IMicrosoftGraphClientFactory clientFactory, IShiftMap shiftMap, ICacheService cacheService, ITimeOffMap timeOffMap, IAvailabilityMap availabilityMap)
 {
     _options         = options ?? throw new ArgumentNullException(nameof(options));
     _clientFactory   = clientFactory ?? throw new ArgumentNullException(nameof(clientFactory));
     _shiftMap        = shiftMap ?? throw new ArgumentNullException(nameof(shiftMap));
     _cacheService    = cacheService ?? throw new ArgumentNullException(nameof(cacheService));
     _timeOffMap      = timeOffMap ?? throw new ArgumentNullException(nameof(timeOffMap));
     _availabilityMap = availabilityMap ?? throw new ArgumentNullException(nameof(availabilityMap));
 }