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 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)); }