public TeamsReadRequestTrigger(WorkforceIntegrationOptions workforceIntegrationOptions, IEnumerable <IChangeRequestHandler> handlers, IStringLocalizer <ChangeRequestTrigger> stringLocalizer) : base(workforceIntegrationOptions, stringLocalizer)
        {
            if (handlers == null)
            {
                throw new ArgumentNullException(nameof(handlers));
            }

            // filter the handlers to those relating to EligibilityFilter requests only
            _handlers = handlers.Where(h => h.ChangeHandlerType == HandlerType.EligibilityFilter);
        }
Exemple #2
0
 public ConnectTrigger(WorkforceIntegrationOptions options)
 {
     _options = options ?? throw new ArgumentNullException(nameof(options));
 }
Exemple #3
0
 public UpdateScheduleOrchestrator(WorkforceIntegrationOptions options)
 {
     _options = options ?? throw new ArgumentNullException(nameof(options));
 }
 public ScheduleActivity(ScheduleActivityOptions options, WorkforceIntegrationOptions wfiOptions, ITeamsService teamsService)
 {
     _options      = options ?? throw new ArgumentNullException(nameof(options));
     _wfiOptions   = wfiOptions ?? throw new ArgumentNullException(nameof(wfiOptions));
     _teamsService = teamsService ?? throw new ArgumentNullException(nameof(teamsService));
 }
 protected ChangeRequestTrigger(WorkforceIntegrationOptions workforceIntegrationOptions, IStringLocalizer <ChangeRequestTrigger> stringLocalizer)
 {
     _workforceIntegrationOptions = workforceIntegrationOptions ?? throw new ArgumentNullException(nameof(workforceIntegrationOptions));
     _stringLocalizer             = stringLocalizer ?? throw new ArgumentNullException(nameof(stringLocalizer));
 }