public MicrosoftGraphScheduleDestinationService(MicrosoftGraphOptions options, IMicrosoftGraphClientFactory clientFactory, IUserPrincipalMap userPrincipalMap, IShiftMap shiftMap) { _options = options ?? throw new ArgumentNullException(nameof(options)); _clientFactory = clientFactory ?? throw new ArgumentNullException(nameof(clientFactory)); _userPrincipalMap = userPrincipalMap ?? throw new ArgumentNullException(nameof(userPrincipalMap)); _shiftMap = shiftMap ?? throw new ArgumentNullException(nameof(shiftMap)); }
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)); }