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

            _pastIdentity = _dataPlace.ActualIdentity;
        }
示例#2
0
        private bool AreFilesChanged()
        {
            var  actualIdentity = _dataPlace.ActualIdentity;
            bool result         = !_pastIdentity.Equals(_dataPlace.ActualIdentity);

            _pastIdentity = actualIdentity;

            return(result);
        }