Esempio n. 1
0
 public ReminderService(IReminderRepository reminderRepository,
                        ICalendarService calendarService,
                        IButler butler,
                        IOptions <CalendarConfigurationOptions> optionsAccessor)
 {
     this.reminderRepository = reminderRepository;
     this.calendarService    = calendarService;
     this.butler             = butler;
     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;
 }
Esempio n. 3
0
 public FocusNotificationService(IFocusStore focusStore,
                                 IDigitLogger logger,
                                 IButler butler,
                                 IOptions <DigitServiceOptions> optionsAccessor,
                                 IDigitPushServiceClient digitPushServiceClient,
                                 IFocusExternalDataService focusExternalDataService)
 {
     _focusStore               = focusStore;
     _logger                   = logger;
     _butler                   = butler;
     _digitPushServiceClient   = digitPushServiceClient;
     _focusExternalDataService = focusExternalDataService;
     options                   = optionsAccessor.Value;
 }
Esempio n. 4
0
 public UserService(IUserRepository userRepository,
                    ICalendarServiceClient calendarService,
                    IButler butler,
                    IOptions <DigitServiceOptions> optionsAccessor,
                    IDigitLogger digitLogger,
                    IDigitPushServiceClient digitPushServiceClient,
                    ILogger <UserService> logger)
 {
     this.userRepository         = userRepository;
     this.calendarService        = calendarService;
     this.butler                 = butler;
     this.digitLogger            = digitLogger;
     this.digitPushServiceClient = digitPushServiceClient;
     _logger = logger;
     options = optionsAccessor.Value;
 }