public GraphCalendarProvider(IGraphAuthenticationProviderFactory graphAuthenticationProviderFactory, StoredConfiguration config, IOptions <CalendarConfigurationOptions> optionsAccessor) { this.graphAuthenticationProviderFactory = graphAuthenticationProviderFactory; this.config = config; options = optionsAccessor.Value; }
public ReminderService(IReminderRepository reminderRepository, ICalendarService calendarService, IButler butler, IOptions <CalendarConfigurationOptions> optionsAccessor) { this.reminderRepository = reminderRepository; this.calendarService = calendarService; this.butler = butler; options = optionsAccessor.Value; }
public GoogleCalendarProvider(StoredConfiguration config, IGoogleCredentialProvider googleCredentialProvider, IOptions <CalendarConfigurationOptions> optionsAccessor, ILogger <GoogleCalendarProvider> logger, GoogleCalendarColorProvider googleCalendarColorProvider) { this.config = config; this.googleCredentialProvider = googleCredentialProvider; this.logger = logger; _googleCalendarColorProvider = googleCalendarColorProvider; options = optionsAccessor.Value; }
public CalendarConfigurationsService(IConfigurationRepository repository, IOptions <CalendarConfigurationOptions> optionsAccessor, IGraphAuthenticationProviderFactory authenticationProviderFactory, ILoggerFactory logger, IGoogleCredentialProvider googleCredentialProvider) { this.repository = repository; this.authenticationProviderFactory = authenticationProviderFactory; this.googleCredentialProvider = googleCredentialProvider; this.logger = logger.CreateLogger("CalendarConfigurationsService"); options = optionsAccessor.Value; }
public CalendarService(IConfigurationRepository configurationRepository, IGraphCalendarProviderFactory graphCalendarProviderFactory, IGoogleCalendarProviderFactory googleCalendarProviderFactory, IButler butler, IOptions <CalendarConfigurationOptions> optionsAccessor, ILogger <CalendarService> logger) { this.configurationRepository = configurationRepository; this.graphCalendarProviderFactory = graphCalendarProviderFactory; this.googleCalendarProviderFactory = googleCalendarProviderFactory; this.butler = butler; this.logger = logger; options = optionsAccessor.Value; }
public GraphAuthenticationProviderFactory(IConfigurationRepository configurationRepository, IOptions <CalendarConfigurationOptions> optionsAccessor) { this.configurationRepository = configurationRepository; options = optionsAccessor.Value; }
public GraphTokenAuthenticationProvider(IConfigurationRepository configurationRepository, CalendarConfigurationOptions options, StoredConfiguration config) { this.configurationRepository = configurationRepository; this.options = options; this.config = config; }
public GoogleCredentialProvider(IOptions <CalendarConfigurationOptions> options, IConfigurationRepository configurationRepository) { this.options = options.Value; this.configurationRepository = configurationRepository; }