2 writes to bookmarks
System.Activities (2)
System\Activities\Runtime\BookmarkManager.cs (2)
56
set { this.
bookmarks
= value; }
162
this.
bookmarks
= new Dictionary<Bookmark, BookmarkCallbackWrapper>(Bookmark.Comparer);
14 references to bookmarks
System.Activities (14)
System\Activities\Runtime\BookmarkManager.cs (14)
41
return this.
bookmarks
!= null && this.
bookmarks
.Count > 0;
55
get { return this.
bookmarks
; }
77
if (this.
bookmarks
!= null && this.
bookmarks
.ContainsKey(toAdd))
160
if (this.
bookmarks
== null)
171
this.
bookmarks
.Add(bookmark, bookmarkCallbackWrapper);
201
if (this.
bookmarks
== null)
207
if (this.
bookmarks
.TryGetValue(bookmark, out wrapper))
251
foreach (KeyValuePair<Bookmark, BookmarkCallbackWrapper> bookmarkEntry in this.
bookmarks
)
282
Fx.Assert(this.
bookmarks
.ContainsKey(bookmark) && object.ReferenceEquals(bookmark, this.
bookmarks
[bookmark].Bookmark), "Something went wrong with our housekeeping - it must exist and must be our intenral reference");
284
this.
bookmarks
.Remove(bookmark);
313
this.
bookmarks
.Remove(bookmark);