1 instantiation of ContextToken
System.WorkflowServices (1)
System\Workflow\Activities\ContextTokenTypeConverter.cs (1)
53convertedValue = new ContextToken(contextName);
25 references to ContextToken
System.WorkflowServices (25)
System\Workflow\Activities\ContextToken.cs (9)
33typeof(ContextToken), 42typeof(ContextToken), 49this.Name = ContextToken.RootContextName; 101if (string.Compare(this.Name, ContextToken.RootContextName, StringComparison.Ordinal) != 0) 239if (!collection.Contains(ContextToken.RootContextName)) 244ReceiveContext receiveContext = collection[ContextToken.RootContextName]; 257ContextToken contextToken = activity.ContextToken; 390if (!collection.Contains(ContextToken.RootContextName)) 392collection.Add(new ReceiveContext(ContextToken.RootContextName, workflowId, true));
System\Workflow\Activities\ContextTokenTypeConverter.cs (6)
43ContextToken contextToken = obj as ContextToken; 63ContextToken contextToken = value as ContextToken; 89ContextToken contextToken = contextTokenProperty.GetValue(preceedingActivity) as ContextToken;
System\Workflow\Activities\ReceiveActivity.cs (8)
74typeof(ContextToken), 183public ContextToken ContextToken 187return base.GetValue(ContextTokenProperty) as ContextToken; 326ContextToken contextToken) 359ReceiveContext receiveContext = ContextToken.GetReceiveContext(activity, contextName, ownerActivityName); 376ReceiveContext receiveContext = ContextToken.GetRootReceiveContext(activity); 380new InvalidOperationException(SR2.GetString(SR2.Error_CannotFindReceiveContext, ContextToken.RootContextName))); 748ContextToken.Register(this, this.WorkflowInstanceId);
System\Workflow\Activities\ValidationHelper.cs (2)
477ContextToken contextToken, 519if (string.Compare(contextToken.Name, ContextToken.RootContextName, StringComparison.Ordinal) == 0)