internal void RemoveBookmark(Bookmark bookmark, BookmarkOptions options) { bool affectsBusyCount = false; if (!BookmarkOptionsHelper.IsNonBlocking(options)) { this.DecrementBusyCount(); affectsBusyCount = true; } this.extendedData.RemoveBookmark(bookmark, affectsBusyCount); }
internal void AddBookmark(Bookmark bookmark, BookmarkOptions options) { bool affectsBusyCount = false; if (!BookmarkOptionsHelper.IsNonBlocking(options)) { this.IncrementBusyCount(); affectsBusyCount = true; } this.EnsureExtendedData(); this.extendedData.AddBookmark(bookmark, affectsBusyCount); }