6 instantiations of BookmarkScope
System.Activities (4)
System\Activities\BookmarkScope.cs (1)
104defaultBookmarkScope = new BookmarkScope();
System\Activities\Runtime\BookmarkScopeManager.cs (3)
389if (this.bookmarkManagers.ContainsKey(new BookmarkScope(id))) 430scope = new BookmarkScope(GetNextTemporaryId()); 465scope = new BookmarkScope(scopeId);
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\Description\WorkflowOperationBehavior.cs (1)
114bookmarkScope = new BookmarkScope(correlationMessageProperty.CorrelationKey.Value);
System\ServiceModel\Activities\WorkflowHostingEndpoint.cs (1)
131bookmarkScope = new BookmarkScope(correlationMessageProperty.CorrelationKey.Value);
84 references to BookmarkScope
System.Activities (72)
System\Activities\ActivityUtilities.cs (1)
1100public static string GetTraceString(BookmarkScope bookmarkScope)
System\Activities\Bookmark.cs (1)
88internal BookmarkScope Scope
System\Activities\BookmarkScope.cs (4)
15public sealed class BookmarkScope : IEquatable<BookmarkScope> 17static BookmarkScope defaultBookmarkScope; 98public static BookmarkScope Default 169public bool Equals(BookmarkScope other)
System\Activities\BookmarkScopeHandle.cs (5)
15BookmarkScope bookmarkScope; 17static BookmarkScopeHandle defaultBookmarkScopeHandle = new BookmarkScopeHandle(BookmarkScope.Default); 23internal BookmarkScopeHandle(BookmarkScope bookmarkScope) 40public BookmarkScope BookmarkScope 49internal BookmarkScope SerializedBookmarkScope
System\Activities\DynamicUpdate\NativeActivityUpdateContext.cs (4)
65public BookmarkScope DefaultBookmarkScope 258public Bookmark CreateBookmark(string name, BookmarkCallback callback, BookmarkScope scope) 263public Bookmark CreateBookmark(string name, BookmarkCallback callback, BookmarkScope scope, BookmarkOptions options) 303public bool RemoveBookmark(string name, BookmarkScope scope)
System\Activities\HandleInitializationContext.cs (2)
95internal BookmarkScope CreateAndRegisterBookmarkScope() 100internal void UnregisterBookmarkScope(BookmarkScope bookmarkScope)
System\Activities\Hosting\WorkflowInstance.cs (3)
771BookmarkResumptionResult ScheduleBookmarkResumption(Bookmark bookmark, object value, BookmarkScope scope) 909public ReadOnlyCollection<BookmarkInfo> GetBookmarks(BookmarkScope scope) 1047public BookmarkResumptionResult ScheduleBookmarkResumption(Bookmark bookmark, object value, BookmarkScope scope)
System\Activities\NativeActivityContext.cs (9)
37public BookmarkScope DefaultBookmarkScope 303public Bookmark CreateBookmark(string name, BookmarkCallback callback, BookmarkScope scope) 308public Bookmark CreateBookmark(string name, BookmarkCallback callback, BookmarkScope scope, BookmarkOptions options) 360internal BookmarkScope CreateBookmarkScope() 365internal BookmarkScope CreateBookmarkScope(Guid scopeId) 370internal BookmarkScope CreateBookmarkScope(Guid scopeId, BookmarkScopeHandle scopeHandle) 382internal void UnregisterBookmarkScope(BookmarkScope scope) 390internal void InitializeBookmarkScope(BookmarkScope scope, Guid id) 451public bool RemoveBookmark(string name, BookmarkScope scope)
System\Activities\Runtime\ActivityExecutor.cs (2)
2619internal ReadOnlyCollection<BookmarkInfo> GetBookmarks(BookmarkScope scope) 2652internal BookmarkResumptionResult TryResumeBookmark(Bookmark bookmark, object value, BookmarkScope scope)
System\Activities\Runtime\BookmarkManager.cs (4)
20BookmarkScope scope; 29internal BookmarkManager(BookmarkScope scope, BookmarkScopeHandle scopeHandle) 60internal BookmarkScope SerializedScope 177TD.CreateBookmark(owningInstance.Activity.GetType().ToString(), owningInstance.Activity.DisplayName, owningInstance.Id, ActivityUtilities.GetTraceString(bookmark), ActivityUtilities.GetTraceString((BookmarkScope)bookmark.Scope));
System\Activities\Runtime\BookmarkScopeManager.cs (33)
20Dictionary<BookmarkScope, BookmarkManager> bookmarkManagers; 21List<BookmarkScope> uninitializedScopes; 25BookmarkScope defaultScope; 35public BookmarkScope Default 62internal BookmarkScope SerializedDefaultScope 77internal Dictionary<BookmarkScope, BookmarkManager> SerializedBookmarkManagers 94internal List<BookmarkScope> SerializedUninitializedScopes 122public Bookmark CreateBookmark(string name, BookmarkScope scope, BookmarkCallback callback, ActivityInstance owningInstance, BookmarkOptions options) 127BookmarkScope lookupScope = scope; 142public bool RemoveBookmark(Bookmark bookmark, BookmarkScope scope, ActivityInstance instanceAttemptingRemove) 146BookmarkScope lookupScope = scope; 164public BookmarkResumptionResult TryGenerateWorkItem(ActivityExecutor executor, ref Bookmark bookmark, BookmarkScope scope, object value, ActivityInstance isolationInstance, bool nonScopedBookmarksExist, out ActivityExecutionWorkItem workItem) 170BookmarkScope lookupScope = scope; 192BookmarkScope uninitializedScope = this.uninitializedScopes[i]; 304public ReadOnlyCollection<BookmarkInfo> GetBookmarks(BookmarkScope scope) 309BookmarkScope lookupScope = scope; 363public void InitializeScope(BookmarkScope scope, Guid id) 367BookmarkScope lookupScope = InitializeBookmarkScopeWithoutKeyAssociation(scope, id); 371public BookmarkScope InitializeBookmarkScopeWithoutKeyAssociation(BookmarkScope scope, Guid id) 375BookmarkScope lookupScope = scope; 412public BookmarkScope CreateAndRegisterScope(Guid scopeId) 417internal BookmarkScope CreateAndRegisterScope(Guid scopeId, BookmarkScopeHandle scopeHandle) 421this.bookmarkManagers = new Dictionary<BookmarkScope, BookmarkManager>(); 424BookmarkScope scope = null; 440this.uninitializedScopes = new List<BookmarkScope>(); 450foreach (BookmarkScope eachScope in this.bookmarkManagers.Keys) 480void CreateAssociatedKey(BookmarkScope newScope) 489public void UnregisterScope(BookmarkScope scope) 522bool IsStable(BookmarkScope scope, bool nonScopedBookmarksExist) 533foreach (KeyValuePair<BookmarkScope, BookmarkManager> scopeBookmarks in this.bookmarkManagers) 535IEquatable<BookmarkScope> comparison = scopeBookmarks.Key; 590BookmarkScope lookupScope = bookmark.Scope;
System\Activities\Statements\CreateBookmarkScope.cs (1)
14public sealed class CreateBookmarkScope : NativeActivity<BookmarkScope>
System\Activities\Statements\DeleteBookmarkScope.cs (3)
19public InArgument<BookmarkScope> Scope 27RuntimeArgument subInstanceArgument = new RuntimeArgument("Scope", typeof(BookmarkScope), ArgumentDirection.In); 35BookmarkScope toUnregister = this.Scope.Get(context);
System.ServiceModel.Activities (12)
System\ServiceModel\Activities\CorrelationHandle.cs (2)
158internal BookmarkScope Scope 189internal BookmarkScope EnsureBookmarkScope(NativeActivityContext executionContext)
System\ServiceModel\Activities\Description\WorkflowOperationBehavior.cs (2)
107protected internal virtual Bookmark OnResolveBookmark(WorkflowOperationContext context, out BookmarkScope bookmarkScope, out object value) 118bookmarkScope = BookmarkScope.Default;
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (4)
1642BookmarkResumptionResult ResumeProtocolBookmarkCore(Bookmark bookmark, object value, BookmarkScope bookmarkScope, bool bufferedReceiveEnabled, ref AsyncWaitHandle waitHandle, ref bool ownsLock) 1688public IAsyncResult BeginResumeProtocolBookmark(Bookmark bookmark, BookmarkScope bookmarkScope, object value, TimeSpan timeout, AsyncCallback callback, object state) 2993BookmarkScope bookmarkScope; 3002public ResumeProtocolBookmarkAsyncResult(WorkflowServiceInstance instance, Bookmark bookmark, object value, BookmarkScope bookmarkScope, bool isResumeProtocolBookmark, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Activities\InternalReceiveMessage.cs (2)
200BookmarkScope bookmarkScope; 353BookmarkScope bookmarkScope = (followingCorrelation != null) ? followingCorrelation.EnsureBookmarkScope(executionContext) : executionContext.DefaultBookmarkScope;
System\ServiceModel\Activities\WorkflowHostingEndpoint.cs (1)
126protected internal override Bookmark OnResolveBookmark(WorkflowOperationContext context, out BookmarkScope bookmarkScope, out object value)
System\ServiceModel\Activities\WorkflowOperationContext.cs (1)
45BookmarkScope bookmarkScope;