예제 #1
0
        public override void Execute()
        {
            var current = _file.GetValues();

            for (var i = 0; i < current.Length; i++)
            {
                current[i] += _values[i];
            }

            _file.Save(current);
        }
예제 #2
0
        private void SaveBackup()
        {
            var backup = _file.GetValues();

            _backups.Push(backup);
        }