Ejemplo n.º 1
0
 public FilesService(IConnectionStateManager connectionStateManager,
                     ISyncTableDataBase syncTableDataBase)
 {
     _connectionStateManager = connectionStateManager;
     _syncTableDataBase      = syncTableDataBase;
     _logger = LogManager.GetCurrentClassLogger();
 }
Ejemplo n.º 2
0
        public CoreModule(IFileManager fileManager,
                          ISyncTableDataBase syncTableDataBase,
                          IConnectionStateManager connectionStateManager,
                          IUserTableDataBase userTableDataBase) : base("core", new Version(0, 1))
        {
            _logger                 = LogManager.GetCurrentClassLogger();
            _fileManager            = fileManager;
            _syncTableDataBase      = syncTableDataBase;
            _connectionStateManager = connectionStateManager;
            _userTableDataBase      = userTableDataBase;

            _serverRemoveFiles      = new ServerRemoveFiles();
            _clientRemoveFiles      = new ClientRemoveFiles();
            _serverAddFiles         = new ServerAddFiles();
            _clientAddFiles         = new ClientAddFiles();
            _clientUpdateFiles      = new ClientUpdateFiles();
            _clientServerExistFiles = new ClientServerExistFiles();
        }
 public ConfigurationModule(IUserTableDataBase userTableDataBase,
                            ISyncTableDataBase syncTableDataBase) : base("config", new Version(0, 1))
 {
     _userTableDataBase = userTableDataBase;
     _syncTableDataBase = syncTableDataBase;
 }