Bloom.Book.Book.CanRelocatePageAsRequested C# (CSharp) Method

CanRelocatePageAsRequested() private method

private CanRelocatePageAsRequested ( int indexOfItemAfterRelocation ) : bool
indexOfItemAfterRelocation int
return bool
        private bool CanRelocatePageAsRequested(int indexOfItemAfterRelocation)
        {
            int upperBounds = GetIndexOfFirstBackMatterPage();
            if (upperBounds < 0)
                upperBounds = 10000;

            return indexOfItemAfterRelocation > GetIndexLastFrontkMatterPage ()
                && indexOfItemAfterRelocation < upperBounds;
        }
Book