AcTools.Processes.VideoIniChange.Dispose C# (CSharp) Method

Dispose() public method

public Dispose ( ) : void
return void
        public void Dispose() {
            if (!_changed) return;
            if (File.Exists(_backup)) {
                if (File.Exists(_filename)) {
                    File.Delete(_filename);
                }

                File.Move(_backup, _filename);
            } else {
                File.WriteAllText(_filename, _originalContent);
            }
        }
    }