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