69 references to Context
System.Workflow.Activities (15)
Common\ValidationHelpers.cs (9)
198
Dictionary<int, object> validatedObjects = manager.
Context
[typeof(Dictionary<int, object>)] as Dictionary<int, object>;
202
manager.
Context
.Push(validatedObjects);
226
manager.
Context
.Pop();
261
manager.
Context
.Push(activity);
262
manager.
Context
.Push(propertyValidationContext);
264
manager.
Context
.Push(extendedPropertyContext);
271
manager.
Context
.Pop();
272
manager.
Context
.Pop();
274
manager.
Context
.Pop();
ConstrainedGroup.cs (1)
163
Activity activity = manager.
Context
[typeof(Activity)] as Activity;
Rules\DeclarativeExpressionConditionDeclaration.cs (3)
335
if (manager.
Context
== null)
349
Activity activity = manager.
Context
[typeof(Activity)] as Activity;
356
PropertyValidationContext validationContext = manager.
Context
[typeof(PropertyValidationContext)] as PropertyValidationContext;
Rules\RuleSetReference.cs (2)
105
Activity activity = manager.
Context
[typeof(Activity)] as Activity;
111
PropertyValidationContext validationContext = manager.
Context
[typeof(PropertyValidationContext)] as PropertyValidationContext;
System.Workflow.ComponentModel (49)
AuthoringOM\Compiler\Validation\ActivityValidator.cs (4)
20
if (manager.
Context
== null)
23
manager.
Context
.Push(activity);
55
System.Diagnostics.Debug.Assert(manager.
Context
.Current == activity, "Unwinding contextStack: the item that is about to be popped is not the one we pushed.");
56
manager.
Context
.Pop();
AuthoringOM\Compiler\Validation\BindValidator.cs (18)
46
PropertyValidationContext validationContext = manager.
Context
[typeof(PropertyValidationContext)] as PropertyValidationContext;
50
Activity activity = manager.
Context
[typeof(Activity)] as Activity;
62
BindValidationContext validationBindContext = manager.
Context
[typeof(BindValidationContext)] as BindValidationContext;
231
PropertyValidationContext validationContext = manager.
Context
[typeof(PropertyValidationContext)] as PropertyValidationContext;
235
Activity activity = manager.
Context
[typeof(Activity)] as Activity;
247
BindValidationContext validationBindContext = manager.
Context
[typeof(BindValidationContext)] as BindValidationContext;
428
PropertyValidationContext validationContext = manager.
Context
[typeof(PropertyValidationContext)] as PropertyValidationContext;
432
Activity activity = manager.
Context
[typeof(Activity)] as Activity;
444
BindValidationContext validationBindContext = manager.
Context
[typeof(BindValidationContext)] as BindValidationContext;
588
Activity activity = manager.
Context
[typeof(Activity)] as Activity;
592
PropertyValidationContext validationContext = manager.
Context
[typeof(PropertyValidationContext)] as PropertyValidationContext;
755
PropertyValidationContext validationContext = manager.
Context
[typeof(PropertyValidationContext)] as PropertyValidationContext;
759
Activity activity = manager.
Context
[typeof(Activity)] as Activity;
766
BindValidationContext validationBindContext = manager.
Context
[typeof(BindValidationContext)] as BindValidationContext;
799
Activity activity = manager.
Context
[typeof(Activity)] as Activity;
920
BindRecursionContext recursionContext = manager.
Context
[typeof(BindRecursionContext)] as BindRecursionContext;
924
manager.
Context
.Push(recursionContext);
946
manager.
Context
.Pop();
AuthoringOM\Compiler\Validation\DependencyObjectValidator.cs (7)
66
Activity activity = manager.
Context
[typeof(Activity)] as Activity;
71
manager.
Context
.Push(propertyValidationContext);
132
manager.
Context
.Push(childContext);
141
System.Diagnostics.Debug.Assert(manager.
Context
.Current == childContext, "Unwinding contextStack: the item that is about to be popped is not the one we pushed.");
142
manager.
Context
.Pop();
169
System.Diagnostics.Debug.Assert(manager.
Context
.Current == propertyValidationContext, "Unwinding contextStack: the item that is about to be popped is not the one we pushed.");
170
manager.
Context
.Pop();
AuthoringOM\Compiler\Validation\Validator.cs (10)
41
Activity activity = manager.
Context
[typeof(Activity)] as Activity;
83
while (manager.
Context
[iterator] != null)
85
if (manager.
Context
[iterator] is PropertyValidationContext)
87
PropertyValidationContext propertyValidationContext = manager.
Context
[iterator] as PropertyValidationContext;
108
manager.
Context
.Push(propertyValidationContext);
118
manager.
Context
.Push(childContext);
127
System.Diagnostics.Debug.Assert(manager.
Context
.Current == childContext, "Unwinding contextStack: the item that is about to be popped is not the one we pushed.");
128
manager.
Context
.Pop();
135
System.Diagnostics.Debug.Assert(manager.
Context
.Current == propertyValidationContext, "Unwinding contextStack: the item that is about to be popped is not the one we pushed.");
136
manager.
Context
.Pop();
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (1)
276
manager.
Context
.Append(this.context.Instance); //
Shared\ValidationHelpers.cs (9)
197
Dictionary<int, object> validatedObjects = manager.
Context
[typeof(Dictionary<int, object>)] as Dictionary<int, object>;
201
manager.
Context
.Push(validatedObjects);
225
manager.
Context
.Pop();
260
manager.
Context
.Push(activity);
261
manager.
Context
.Push(propertyValidationContext);
263
manager.
Context
.Push(extendedPropertyContext);
270
manager.
Context
.Pop();
271
manager.
Context
.Pop();
273
manager.
Context
.Pop();
System.WorkflowServices (5)
System\Workflow\Activities\ReceiveActivityValidator.cs (1)
78
manager.
Context
[typeof(ServiceOperationsImplementedValidationMarker)] == null)
System\Workflow\Activities\ValidationHelper.cs (2)
365
if (manager.
Context
[typeof(ServiceOperationsImplementedValidationMarker)] == null)
367
manager.
Context
.Append(new ServiceOperationsImplementedValidationMarker());
System\Workflow\Activities\WorkflowServiceAttributesDynamicPropertyValidator.cs (2)
30
if (manager.
Context
== null)
36
Activity rootActivity = manager.
Context
[typeof(Activity)] as Activity;