Example #1
0
 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;
 }
Example #2
0
 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;
 }
Example #3
0
        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;
        }
Example #4
0
 public TeamService(ILoggerFactory factory, ILockHelper locker)
 {
     this._log = factory.Create(typeof(TeamService));
     this._locker = locker;
 }
Example #5
0
 public TeamService(ILoggerFactory factory, ILockHelper locker)
 {
     this._log    = factory.Create(typeof(TeamService));
     this._locker = locker;
 }
Example #6
0
 public AccountService(ILockHelper locker)
 {
     this._locker = locker;
 }
 public AccountConnectionService(ILoggerFactory factory, ILockHelper locker)
 {
     this._log    = factory.Create(typeof(AccountConnectionService));
     this._locker = locker;
 }
Example #8
0
 public ConfigurationService(ILockHelper locker)
 {
     this._locker = locker;
 }