示例#1
0
 public TeamHealthTrigger(ConnectorOptions options, ISecretsService secretsService, IScheduleSourceService scheduleSourceService, IScheduleConnectorService scheduleConnectorService, IScheduleDestinationService scheduleDestinationService, IScheduleCacheService scheduleCacheService)
 {
     _options                    = options ?? throw new ArgumentNullException(nameof(options));
     _secretsService             = secretsService ?? throw new ArgumentNullException(nameof(secretsService));
     _scheduleSourceService      = scheduleSourceService ?? throw new ArgumentNullException(nameof(scheduleSourceService));
     _scheduleConnectorService   = scheduleConnectorService ?? throw new ArgumentNullException(nameof(scheduleConnectorService));
     _scheduleDestinationService = scheduleDestinationService ?? throw new ArgumentNullException(nameof(scheduleDestinationService));
     _scheduleCacheService       = scheduleCacheService ?? throw new ArgumentNullException(nameof(scheduleCacheService));
 }
示例#2
0
 public SubscribeTrigger(MicrosoftGraphOptions options, IScheduleConnectorService scheduleConnectorService, IScheduleSourceService scheduleSourceService, IScheduleDestinationService scheduleDestinationService, ISecretsService secretsService, IHttpClientFactory httpClientFactory)
 {
     _options = options ?? throw new ArgumentNullException(nameof(options));
     _scheduleConnectorService   = scheduleConnectorService ?? throw new ArgumentNullException(nameof(scheduleConnectorService));
     _scheduleSourceService      = scheduleSourceService ?? throw new ArgumentNullException(nameof(scheduleSourceService));
     _scheduleDestinationService = scheduleDestinationService ?? throw new ArgumentNullException(nameof(scheduleDestinationService));
     _secretsService             = secretsService ?? throw new ArgumentNullException(nameof(secretsService));
     _httpClientFactory          = httpClientFactory ?? throw new ArgumentNullException(nameof(httpClientFactory));
 }
示例#3
0
 public WeekActivity(WeekActivityOptions options, IScheduleSourceService scheduleSourceService, IScheduleCacheService scheduleCacheService,
                     IScheduleDestinationService scheduleDestinationService, IScheduleDeltaService scheduleDeltaService, ISecretsService secretsService)
 {
     _options = options ?? throw new ArgumentNullException(nameof(options));
     _scheduleSourceService      = scheduleSourceService ?? throw new ArgumentNullException(nameof(scheduleSourceService));
     _scheduleCacheService       = scheduleCacheService ?? throw new ArgumentNullException(nameof(scheduleCacheService));
     _scheduleDestinationService = scheduleDestinationService ?? throw new ArgumentNullException(nameof(scheduleDestinationService));
     _scheduleDeltaService       = scheduleDeltaService ?? throw new ArgumentNullException(nameof(scheduleDeltaService));
     _secretsService             = secretsService ?? throw new ArgumentNullException(nameof(secretsService));
 }
示例#4
0
 public ShareActivity(WeekActivityOptions options, IScheduleDestinationService scheduleDestinationService)
 {
     _options = options ?? throw new ArgumentNullException(nameof(options));
     _scheduleDestinationService = scheduleDestinationService ?? throw new ArgumentNullException(nameof(scheduleDestinationService));
 }
 public ClearSchedulingGroupsActivity(IScheduleDestinationService scheduleDestinationService)
 {
     _scheduleDestinationService = scheduleDestinationService ?? throw new ArgumentNullException(nameof(scheduleDestinationService));
 }
 public ClearCacheActivity(TeamOrchestratorOptions options, IScheduleCacheService scheduleCacheService, IScheduleDestinationService scheduleDestinationService)
 {
     _options = options ?? throw new ArgumentNullException(nameof(options));
     _scheduleCacheService       = scheduleCacheService ?? throw new ArgumentNullException(nameof(scheduleCacheService));
     _scheduleDestinationService = scheduleDestinationService ?? throw new ArgumentNullException(nameof(scheduleDestinationService));
 }
 public ClearShiftsActivity(ClearScheduleOptions options, IScheduleDestinationService scheduleDestinationService)
 {
     _options = options ?? throw new ArgumentNullException(nameof(options));
     _scheduleDestinationService = scheduleDestinationService ?? throw new ArgumentNullException(nameof(scheduleDestinationService));
 }