public SyncService(ISettingsProvider settingsProvider, ICalendarUpdateService calendarUpdateService,
     IMessageService messageService, ApplicationLogger applicationLogger)
 {
     _settingsProvider = settingsProvider;
     _calendarUpdateService = calendarUpdateService;
     _messageService = messageService;
     _applicationLogger = applicationLogger.GetLogger(GetType());
 }
 public SettingsSerializationService(ApplicationLogger applicationLogger)
 {
     Logger = applicationLogger.GetLogger(GetType());
     applicationDataDirectory =
         Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),
             "CalendarSyncPlus");
     settingsFilePath = Path.Combine(applicationDataDirectory, "Settings.xml");
 }
 public SummarySerializationService(ApplicationLogger applicationLogger)
 {
     Logger = applicationLogger.GetLogger(GetType());
     _applicationDataDirectory =
         Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),
             "PCoMD");
     _applicationDataDirectory = Path.Combine(_applicationDataDirectory, "Stats");
     _settingsFilePath = Path.Combine(_applicationDataDirectory, "Summary.xml");
 }
 public CalendarUpdateService(ICalendarServiceFactory calendarServiceFactory,
     ICalendarSyncEngine calendarSyncEngine,
     ISyncAnalyticsService analyticsService,
     ApplicationLogger applicationLogger)
 {
     Logger = applicationLogger.GetLogger(GetType());
     CalendarServiceFactory = calendarServiceFactory;
     CalendarSyncEngine = calendarSyncEngine;
     AnalyticsService = analyticsService;
 }
 public TaskUpdateService(ITaskServiceFactory taskServiceFactory,
     ITaskSyncEngine taskSyncEngine,
     ISyncAnalyticsService analyticsService,
     ApplicationLogger applicationLogger)
 {
     Logger = applicationLogger.GetLogger(GetType());
     TaskServiceFactory = taskServiceFactory;
     TaskSyncEngine = taskSyncEngine;
     AnalyticsService = analyticsService;
 }
 public SyncService(ICalendarUpdateService calendarUpdateService,
     IContactUpdateService contactUpdateService, ITaskUpdateService taskUpdateService,
     IMessageService messageService, ApplicationLogger applicationLogger)
 {
     CalendarUpdateService = calendarUpdateService;
     ContactUpdateService = contactUpdateService;
     TaskUpdateService = taskUpdateService;
     MessageService = messageService;
     Logger = applicationLogger.GetLogger(GetType());
 }
 public AccountAuthenticationService(ApplicationLogger applicationLogger, IMessageService messageService)
 {
     MessageService = messageService;
     Logger = applicationLogger.GetLogger(GetType());
 }
 public OutlookCalendarService(ApplicationLogger applicationLogger)
 {
     Logger = applicationLogger.GetLogger(GetType());
 }
Example #9
0
 public GoogleTaskService(IAccountAuthenticationService accountAuthenticationService,
     ApplicationLogger applicationLogger)
 {
     AccountAuthenticationService = accountAuthenticationService;
     Logger = applicationLogger.GetLogger(GetType());
 }
Example #10
0
 public WindowsStartupService(ApplicationLogger applicationLogger)
 {
     ApplicationLogger = applicationLogger.GetLogger(GetType());
 }
 public ProfileViewModel(CalendarSyncProfile syncProfile, IGoogleCalendarService googleCalendarService,
     IOutlookCalendarService outlookCalendarService,
     IMessageService messageService, IExchangeWebCalendarService exchangeWebCalendarService,
     ApplicationLogger applicationLogger, IAccountAuthenticationService accountAuthenticationService)
 {
     SyncProfile = syncProfile;
     ExchangeWebCalendarService = exchangeWebCalendarService;
     ApplicationLogger = applicationLogger.GetLogger(GetType());
     AccountAuthenticationService = accountAuthenticationService;
     GoogleCalendarService = googleCalendarService;
     OutlookCalendarService = outlookCalendarService;
     MessageService = messageService;
 }
 public SyncAnalyticsService(IAccountAuthenticationService accountAuthenticationService,
     ApplicationLogger applicationLogger)
 {
     AccountAuthenticationService = accountAuthenticationService;
     Logger = applicationLogger.GetLogger(GetType());
 }
 public LiveAuthenticationService(ApplicationLogger applicationLogger)
 {
     Logger = applicationLogger.GetLogger(this.GetType());
 }
 public ExchangeWebCalendarService(ApplicationLogger applicationLogger)
 {
     Logger = applicationLogger.GetLogger(GetType());
 }
Example #15
0
 public GoogleCalendarService(IAccountAuthenticationService accountAuthenticationService,
     ApplicationLogger applicationLogger)
 {
     Logger = applicationLogger.GetLogger(GetType());
     AccountAuthenticationService = accountAuthenticationService;
 }
 public OutlookTaskService(ApplicationLogger applicationLogger)
 {
     Logger = applicationLogger.GetLogger(GetType());
 }
 public ApplicationUpdateService(ApplicationLogger applicationLogger)
 {
     Logger = applicationLogger.GetLogger(GetType());
 }