public BackupRule(DataPlace dataPlace, Config config) { _dataPlace = dataPlace; _config = config; _pastIdentity = _dataPlace.ActualIdentity; }
private bool AreFilesChanged() { var actualIdentity = _dataPlace.ActualIdentity; bool result = !_pastIdentity.Equals(_dataPlace.ActualIdentity); _pastIdentity = actualIdentity; return(result); }