ScrewTurn.Wiki.PagesStorageProvider.BackupPagesFile C# (CSharp) Method

BackupPagesFile() private method

Makes a backup copy of the pages file.
private BackupPagesFile ( ) : void
return void
        private void BackupPagesFile()
        {
            lock(this) {
                File.Copy(GetFullPath(PagesFile),
                    GetFullPath(Path.GetFileNameWithoutExtension(PagesFile) +
                    ".bak" + Path.GetExtension(PagesFile)), true);
            }
        }
PagesStorageProvider