public UnsubscribeTrigger(FeatureOptions options, ConnectorOptions connectorOptions, ISecretsService secretsService, IScheduleConnectorService scheduleConnectorService) { _options = options ?? throw new ArgumentNullException(nameof(options)); _secretsService = secretsService ?? throw new ArgumentNullException(nameof(secretsService)); _scheduleConnectorService = scheduleConnectorService ?? throw new ArgumentNullException(nameof(scheduleConnectorService)); _connectorOptions = connectorOptions ?? throw new ArgumentNullException(nameof(connectorOptions)); }
protected ChangeRequestHandler(IScheduleConnectorService scheduleConnectorService, IRequestCacheService requestCacheService, ISecretsService secretsService, IStringLocalizer <ChangeRequestTrigger> stringLocalizer) { _scheduleConnectorService = scheduleConnectorService ?? throw new ArgumentNullException(nameof(scheduleConnectorService)); _requestCacheService = requestCacheService ?? throw new ArgumentNullException(nameof(requestCacheService)); _secretsService = secretsService ?? throw new ArgumentNullException(nameof(secretsService)); _stringLocalizer = stringLocalizer ?? throw new ArgumentNullException(nameof(stringLocalizer)); }
public TokenHttpHandler(MicrosoftGraphOptions options, HttpClient httpClient, string teamId, ISecretsService secretsService) { _options = options; _httpClient = httpClient; _teamId = teamId; _secretsService = secretsService; }
public WelcomeViewModel(IMediator mediator, ISecretsService secretsService) { this.secretsService = secretsService; this.mediator = mediator; StartGameCommand = new RelayCommand(StartGame); EasternCommand = new RelayCommand(LaunchDialog); }
public HttpService(ISecretsService secrets) { _secrets = secrets; ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls; _client = new HttpClient(); SetDefaultHeaders(); }
public ResourceController(ISecretsService secrets, IResourceRepository resourceRepo, IResourceFactory resourceFactory, ISecretsFactory secretFactory) { _secrets = secrets; _resourceFactory = resourceFactory; _resourceRepo = resourceRepo; _secretFactory = secretFactory; }
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)); }
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)); }
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)); }
public LocalJsonConfigurationService(ISecretsService secrets) { _secrets = secrets; Root = _secrets.GetSetting("Configuration.Path"); if (String.IsNullOrEmpty(Root)) { Root = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "App_Data"); } }
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)); }
public FirstUseViewModel(INavigationService navigationService, ISecretsService secretsService) { _navigationService = navigationService; _secretsService = secretsService; ApiKey = string.Empty; SaveApiKey = new Command(async() => { await _secretsService.SaveSecretAsync(Secrets.KeyAlias, ApiKey.Trim()); IsApiKeySaved = true; await _navigationService.PopModalAsync(); }); }
public SubscribeTrigger(TeamOrchestratorOptions teamOrchestratorOptions, MicrosoftGraphOptions options, FeatureOptions featureOptions, IScheduleConnectorService scheduleConnectorService, IWfmDataService wfmDataService, ITeamsService teamsService, ISecretsService secretsService, IHttpClientFactory httpClientFactory, ISystemTimeService systemTimeService, ITimeZoneService timeZoneService) { _teamOrchestratorOptions = teamOrchestratorOptions ?? throw new ArgumentNullException(nameof(teamOrchestratorOptions)); _options = options ?? throw new ArgumentNullException(nameof(options)); _featureOptions = featureOptions ?? throw new ArgumentNullException(nameof(featureOptions)); _scheduleConnectorService = scheduleConnectorService ?? throw new ArgumentNullException(nameof(scheduleConnectorService)); _wfmDataService = wfmDataService ?? throw new ArgumentNullException(nameof(wfmDataService)); _teamsService = teamsService ?? throw new ArgumentNullException(nameof(teamsService)); _secretsService = secretsService ?? throw new ArgumentNullException(nameof(secretsService)); _httpClientFactory = httpClientFactory ?? throw new ArgumentNullException(nameof(httpClientFactory)); _systemTimeService = systemTimeService ?? throw new ArgumentNullException(nameof(systemTimeService)); _timeZoneService = timeZoneService ?? throw new ArgumentNullException(nameof(timeZoneService)); }
public CredentialsTrigger(ISecretsService secretsService) { _secretsService = secretsService ?? throw new ArgumentNullException(nameof(secretsService)); }
public ShiftChangeHandler(TeamOrchestratorOptions teamOptions, IScheduleConnectorService scheduleConnectorService, IRequestCacheService requestCacheService, ISecretsService secretsService, IStringLocalizer <ChangeRequestTrigger> stringLocalizer, IScheduleCacheService scheduleCacheService, ISystemTimeService systemTimeService) : base(scheduleConnectorService, requestCacheService, secretsService, stringLocalizer) { _teamOptions = teamOptions ?? throw new ArgumentNullException(nameof(teamOptions)); _scheduleCacheService = scheduleCacheService ?? throw new ArgumentNullException(nameof(scheduleCacheService)); _systemTimeService = systemTimeService ?? throw new ArgumentNullException(nameof(systemTimeService)); }
public ShiftPreferenceChangeRequestHandler(IScheduleConnectorService scheduleConnectorService, IRequestCacheService requestCacheService, ISecretsService secretsService, IStringLocalizer <ChangeRequestTrigger> stringLocalizer, ICacheService cacheService, IWfmActionService wfmActionService, IAvailabilityMap availabilityMap) : base(scheduleConnectorService, requestCacheService, secretsService, stringLocalizer) { _cacheService = cacheService ?? throw new ArgumentNullException(nameof(cacheService)); _wfmActionService = wfmActionService ?? throw new ArgumentNullException(nameof(wfmActionService)); _availabilityMap = availabilityMap ?? throw new ArgumentNullException(nameof(availabilityMap)); }
public OpenShiftChangeHandler(IScheduleConnectorService scheduleConnectorService, IRequestCacheService requestCacheService, ISecretsService secretsService, IStringLocalizer <ChangeRequestTrigger> stringLocalizer) : base(scheduleConnectorService, requestCacheService, secretsService, stringLocalizer) { }
public UnsubscribeTrigger(ISecretsService secretsService, IScheduleConnectorService scheduleConnectorService) { _secretsService = secretsService ?? throw new ArgumentNullException(nameof(secretsService)); _scheduleConnectorService = scheduleConnectorService ?? throw new ArgumentNullException(nameof(scheduleConnectorService)); }
public BlobJsonConfigurationService(ISecretsService secrets) : base(secrets) { _account = CloudStorageAccount.Parse(secrets.GetSetting("Configuration.Connection")); _containerName = secrets.GetSetting("Configuration.Container"); }
public MicrosoftGraphClientFactory(IHttpClientFactory httpClientFactory, ISecretsService secretsService) { _httpClientFactory = httpClientFactory; _secretsService = secretsService; }
public CancelOpenShiftRequestHandler(TeamOrchestratorOptions teamOptions, FeatureOptions featureOptions, IScheduleConnectorService scheduleConnectorService, IScheduleCacheService scheduleCacheService, IRequestCacheService requestCacheService, ISecretsService secretsService, IStringLocalizer <ChangeRequestTrigger> stringLocalizer, ICacheService cacheService, IWfmActionService wfmActionService) : base(teamOptions, featureOptions, scheduleConnectorService, scheduleCacheService, requestCacheService, secretsService, stringLocalizer, cacheService, wfmActionService) { }
public ShiftSwapFilterHandler(TeamOrchestratorOptions teamOptions, IScheduleConnectorService scheduleConnectorService, IRequestCacheService requestCacheService, ISecretsService secretsService, IStringLocalizer <ChangeRequestTrigger> stringLocalizer, IScheduleCacheService scheduleCacheService, ICacheService cacheService, IWfmDataService wfmDataService) : base(scheduleConnectorService, requestCacheService, secretsService, stringLocalizer) { _teamOptions = teamOptions ?? throw new ArgumentNullException(nameof(teamOptions)); _scheduleCacheService = scheduleCacheService ?? throw new ArgumentNullException(nameof(scheduleCacheService)); _cacheService = cacheService ?? throw new ArgumentNullException(nameof(cacheService)); _wfmDataService = wfmDataService ?? throw new ArgumentNullException(nameof(wfmDataService)); }
protected OpenShiftRequestHandler(TeamOrchestratorOptions teamOptions, FeatureOptions featureOptions, IScheduleConnectorService scheduleConnectorService, IScheduleCacheService scheduleCacheService, IRequestCacheService requestCacheService, ISecretsService secretsService, IStringLocalizer <ChangeRequestTrigger> stringLocalizer, ICacheService cacheService, IWfmActionService wfmActionService) : base(scheduleConnectorService, requestCacheService, secretsService, stringLocalizer) { _teamOptions = teamOptions ?? throw new ArgumentNullException(nameof(teamOptions)); _featureOptions = featureOptions ?? throw new ArgumentNullException(nameof(featureOptions)); _scheduleCacheService = scheduleCacheService ?? throw new ArgumentNullException(nameof(scheduleCacheService)); _cacheService = cacheService ?? throw new ArgumentNullException(nameof(cacheService)); _wfmActionService = wfmActionService ?? throw new ArgumentNullException(nameof(wfmActionService)); }
public AuthenticationService(ISecretsService secretsService) { this.secretsService = secretsService ?? throw new ArgumentNullException(nameof(secretsService)); }
public AvailabilityService(IHttpService httpService, ISecretsService secrets) { _httpClient = httpService; _baseUrl = secrets.GetSecret("AvailabilityApiBaseUrl"); }
public SecretsController(ISecretsService secretsService) { _secretsService = secretsService; }
public OpenIdConnectPostConfigureOptions(ISecretsService secretsService) { _secretsService = secretsService; }