2 instantiations of ReceiveContext
System.WorkflowServices (2)
System\Workflow\Activities\ContextToken.cs (2)
357
collection.Add(new
ReceiveContext
(contextName, workflowId, false));
392
collection.Add(new
ReceiveContext
(ContextToken.RootContextName, workflowId, true));
11 references to ReceiveContext
System.WorkflowServices (11)
System\Workflow\Activities\ContextToken.cs (4)
137
internal static
ReceiveContext
GetReceiveContext(Activity activity,
205
ReceiveContext
receiveContext = collection[contextName];
211
internal static
ReceiveContext
GetRootReceiveContext(Activity activity)
244
ReceiveContext
receiveContext = collection[ContextToken.RootContextName];
System\Workflow\Activities\ReceiveActivity.cs (2)
359
ReceiveContext
receiveContext = ContextToken.GetReceiveContext(activity, contextName, ownerActivityName);
376
ReceiveContext
receiveContext = ContextToken.GetRootReceiveContext(activity);
System\Workflow\Activities\ReceiveContextCollection.cs (5)
19
internal sealed class ReceiveContextCollection : KeyedCollection<string,
ReceiveContext
>
31
public
ReceiveContext
GetItem(string key)
41
protected override string GetKeyForItem(
ReceiveContext
item)
46
protected override void InsertItem(int index,
ReceiveContext
item)
61
protected override void SetItem(int index,
ReceiveContext
item)