Esempio n. 1
0
        public SendGridEmailSenderComponent(
            IOrganizationSettingsAccessorService organizationSettingsAccessorService,
            IHealthCheckStorage healthCheckStorage)
        {
            _organizationSettingsAccessorService = organizationSettingsAccessorService ?? throw
                                                       new ArgumentNullException(nameof(organizationSettingsAccessorService));

            _healthCheckStorage = healthCheckStorage ?? throw
                                      new ArgumentNullException(nameof(healthCheckStorage));
        }
Esempio n. 2
0
        public PowerOfficeService(
            IOptions <PowerOfficeOptions> options,
            ILogger <PowerOfficeService> logger,
            IOrganizationSettingsAccessorService organizationSettingsAccessorService)
        {
            _logger = logger ?? throw
                          new ArgumentNullException(nameof(logger));

            _organizationSettingsAccessorService = organizationSettingsAccessorService ?? throw
                                                       new ArgumentNullException(nameof(organizationSettingsAccessorService));

            _options = options ?? throw
                           new ArgumentNullException(nameof(options));
        }
Esempio n. 3
0
        public TwilioSmsSenderComponent(
            IOrganizationSettingsAccessorService organizationSettingsAccessorService,
            IHealthCheckStorage healthCheckStorage,
            ILoggerFactory loggerFactory)
        {
            _organizationSettingsAccessorService = organizationSettingsAccessorService ?? throw
                                                       new ArgumentNullException(nameof(organizationSettingsAccessorService));

            _healthCheckStorage = healthCheckStorage ?? throw
                                      new ArgumentNullException(nameof(healthCheckStorage));

            _loggerFactory = loggerFactory ?? throw
                                 new ArgumentNullException(nameof(loggerFactory));
        }
Esempio n. 4
0
        public ZoomCredentialsAccessor(
            IOptions <ZoomSettings> options,
            IHttpContextAccessor httpContextAccessor,
            IOrganizationSettingsAccessorService organizationSettingsAccessorService,
            ILogger <ZoomCredentialsAccessor> logger)
        {
            _options = options ?? throw
                           new ArgumentNullException(nameof(options));

            _httpContextAccessor = httpContextAccessor ?? throw
                                       new ArgumentNullException(nameof(httpContextAccessor));

            _organizationSettingsAccessorService = organizationSettingsAccessorService ?? throw
                                                       new ArgumentNullException(nameof(organizationSettingsAccessorService));

            _logger = logger ?? throw
                          new ArgumentNullException(nameof(logger));
        }