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

            _pastIdentity = _dataPlace.ActualIdentity;
        }
Beispiel #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);
        }
Beispiel #3
0
 public DataAction(string dataPath)
 {
     Data = new DataPlace(dataPath);
 }
Beispiel #4
0
 public DataAction(DataPlace data)
 {
     Data = data;
 }
Beispiel #5
0
 public BackupAction(DataPlace dataPlace, Config config)
 {
     _dataPlace = dataPlace;
     _config    = config;
 }