Example #1
0
        public BackupRule(DataPlace dataPlace, Config config)
        {
            _dataPlace = dataPlace;
            _config    = config;

            _pastIdentity = _dataPlace.ActualIdentity;
        }
Example #2
0
        public InformationKeeper(Config config)
        {
            _config = config;

            _dataPlace = new DataPlace(_config.backupFromPath);
            var backupAction = new BackupAction(_dataPlace, _config);
            var backupRule   = new BackupRule(_dataPlace, _config);

            _backuper = new Backuper(backupAction, backupRule);

            _timeController = new TimeController(_config, _backuper);
        }
Example #3
0
 public DataAction(string dataPath)
 {
     Data = new DataPlace(dataPath);
 }
Example #4
0
 public DataAction(DataPlace data)
 {
     Data = data;
 }
Example #5
0
 public BackupAction(DataPlace dataPlace, Config config)
 {
     _dataPlace = dataPlace;
     _config    = config;
 }