Exemple #1
0
        internal void RemoveBookmark(Bookmark bookmark, BookmarkOptions options)
        {
            bool affectsBusyCount = false;

            if (!BookmarkOptionsHelper.IsNonBlocking(options))
            {
                this.DecrementBusyCount();
                affectsBusyCount = true;
            }
            this.extendedData.RemoveBookmark(bookmark, affectsBusyCount);
        }
Exemple #2
0
        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);
        }