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