2 writes to bookmarkManagers
System.Activities (2)
System\Activities\Runtime\BookmarkScopeManager.cs (2)
88this.bookmarkManagers = value; 421this.bookmarkManagers = new Dictionary<BookmarkScope, BookmarkManager>();
29 references to bookmarkManagers
System.Activities (29)
System\Activities\Runtime\BookmarkScopeManager.cs (29)
81Fx.Assert(this.bookmarkManagers != null && this.bookmarkManagers.Count > 0, "We always have the default sub instance."); 83return this.bookmarkManagers; 134if (!this.bookmarkManagers.TryGetValue(lookupScope, out manager)) 154if (this.bookmarkManagers.TryGetValue(lookupScope, out manager)) 179this.bookmarkManagers.TryGetValue(lookupScope, out manager); 194Fx.Assert(this.bookmarkManagers.ContainsKey(uninitializedScope), "We must always have the uninitialized sub instances."); 199if (!this.bookmarkManagers[uninitializedScope].TryGetBookmarkFromInternalList(bookmark, out internalBookmark, out callbackWrapper)) 209resumptionResult = this.bookmarkManagers[uninitializedScope].TryGenerateWorkItem(executor, true, ref bookmark, value, isolationInstance, out workItem); 290foreach (BookmarkManager manager in this.bookmarkManagers.Values) 316if (this.bookmarkManagers.TryGetValue(lookupScope, out manager)) 387Fx.Assert(this.bookmarkManagers != null, "This is never null if uninitializedScopes is non-null."); 389if (this.bookmarkManagers.ContainsKey(new BookmarkScope(id))) 394BookmarkManager bookmarks = this.bookmarkManagers[lookupScope]; 395this.bookmarkManagers.Remove(lookupScope); 402this.bookmarkManagers.Add(lookupScope, bookmarks); 419if (this.bookmarkManagers == null) 431this.bookmarkManagers.Add(scope, new BookmarkManager(scope, scopeHandle)); 450foreach (BookmarkScope eachScope in this.bookmarkManagers.Keys) 466this.bookmarkManagers.Add(scope, new BookmarkManager(scope, scopeHandle)); 493if (this.bookmarkManagers == null || !this.bookmarkManagers.ContainsKey(scope)) 498if (this.bookmarkManagers[scope].HasBookmarks) 503this.bookmarkManagers.Remove(scope); 524Fx.Assert(this.bookmarkManagers.ContainsKey(scope), "The caller should have made sure this scope exists in the bookmark managers dictionary."); 531if (this.bookmarkManagers != null) 533foreach (KeyValuePair<BookmarkScope, BookmarkManager> scopeBookmarks in this.bookmarkManagers) 597Fx.Assert(this.bookmarkManagers.ContainsKey(bookmark.Scope), "We should have the single bookmark's sub instance registered"); 598manager = this.bookmarkManagers[bookmark.Scope];