public GoogleSyncProcesser( ILockHelper lockHelper, ILoggerFactory loggerFactory, ISessionManager sessionManager, IAccountHelper accountHelper, IAccountService accountService, IAccountConnectionService accountConnectionService, ITaskService taskService, IExternalServiceProvider externalServiceProvider, IGoogleTokenService googleTokenService, IGoogleTaskSyncService googleTaskSyncService, IGoogleCalendarEventSyncService googleCalendarEventSyncService, IGoogleContactSyncService googleContactSyncService) : base(lockHelper, loggerFactory, sessionManager, accountHelper, accountService, accountConnectionService, taskService, externalServiceProvider) { lockHelper.Init <GoogleConnection>(); _googleTokenService = googleTokenService; _googleTaskSyncService = googleTaskSyncService; _googleCalendarEventSyncService = googleCalendarEventSyncService; _googleContactSyncService = googleContactSyncService; }
public GoogleSyncProcesser( ILockHelper lockHelper, ILoggerFactory loggerFactory, ISessionManager sessionManager, IAccountHelper accountHelper, IAccountService accountService, IAccountConnectionService accountConnectionService, ITaskService taskService, IExternalServiceProvider externalServiceProvider, IGoogleTokenService googleTokenService, IGoogleTaskSyncService googleTaskSyncService, IGoogleCalendarEventSyncService googleCalendarEventSyncService, IGoogleContactSyncService googleContactSyncService) : base(lockHelper, loggerFactory, sessionManager, accountHelper, accountService, accountConnectionService, taskService, externalServiceProvider) { lockHelper.Init<GoogleConnection>(); _googleTokenService = googleTokenService; _googleTaskSyncService = googleTaskSyncService; _googleCalendarEventSyncService = googleCalendarEventSyncService; _googleContactSyncService = googleContactSyncService; }
public SyncProcesser( ILockHelper lockHelper, ILoggerFactory loggerFactory, ISessionManager sessionManager, IAccountHelper accountHelper, IAccountService accountService, IAccountConnectionService accountConnectionService, ITaskService taskService, IExternalServiceProvider externalServiceProvider ) { //初始化同步锁 lockHelper.Init <Account>(); _logger = loggerFactory.Create(GetType()); _sessionManager = sessionManager; _accountHelper = accountHelper; _accountService = accountService; _accountConnectionService = accountConnectionService; _taskService = taskService; _externalServiceProvider = externalServiceProvider; }