Example #1
0
 public ScheduleActivity(ScheduleActivityOptions options, IScheduleDestinationService scheduleDestinationService)
 {
     _options = options ?? throw new ArgumentNullException(nameof(options));
     _scheduleDestinationService = scheduleDestinationService ?? throw new ArgumentNullException(nameof(scheduleDestinationService));
 }
 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));
 }