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