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