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