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