Bloom.Edit.EditingModel.FinishSavingPage C# (CSharp) Method

FinishSavingPage() private method

Called from a JavaScript event after it has done everything appropriate in JS land towards saving a page, in the process of wrapping up this page before moving to another. The main point is that any changes on this page get saved back to the main document. In case it is an origami page, there is some special stuff to do as commented below. (Argument is required for JS callback, not used).
private FinishSavingPage ( string ignored = null ) : void
ignored string
return void
        private void FinishSavingPage(string ignored = null)
        {
            if (CannotSavePage())
                return;

            var stopwatch = Stopwatch.StartNew();
            SaveNow();
            stopwatch.Stop();
            Debug.WriteLine("Save Now Elapsed Time: {0} ms", stopwatch.ElapsedMilliseconds);
        }