12 instantiations of ProcessActivityTreeOptions
System.Activities (12)
System\Activities\ProcessActivityTreeOptions.cs (12)
104
fullCachingOptions = new
ProcessActivityTreeOptions
122
validationOptions = new
ProcessActivityTreeOptions
141
validationAndPrepareForRuntimeOptions = new
ProcessActivityTreeOptions
159
skipRootConfigurationValidationOptions = new
ProcessActivityTreeOptions
180
singleLevelSkipRootConfigurationValidationOptions = new
ProcessActivityTreeOptions
201
singleLevelValidationOptions = new
ProcessActivityTreeOptions
223
finishCachingSubtreeOptionsWithoutCreateEmptyBindings = new
ProcessActivityTreeOptions
242
skipRootFinishCachingSubtreeOptions = new
ProcessActivityTreeOptions
262
finishCachingSubtreeOptionsWithCreateEmptyBindings = new
ProcessActivityTreeOptions
280
dynamicUpdateOptions = new
ProcessActivityTreeOptions
297
dynamicUpdateOptionsForImplementation = new
ProcessActivityTreeOptions
383
return new
ProcessActivityTreeOptions
70 references to ProcessActivityTreeOptions
System.Activities (70)
System\Activities\ActivityUtilities.cs (8)
622
static void ProcessActivity(ChildActivity childActivity, ref ChildActivity nextActivity, ref Stack<ChildActivity> activitiesRemaining, ActivityCallStack parentChain, ref IList<ValidationError> validationErrors,
ProcessActivityTreeOptions
options, ProcessActivityCallback callback)
809
public static void CacheRootMetadata(Activity activity, LocationReferenceEnvironment hostEnvironment,
ProcessActivityTreeOptions
options, ProcessActivityCallback callback, ref IList<ValidationError> validationErrors)
857
public static void FinishCachingSubtree(ChildActivity subtreeRoot, ActivityCallStack parentChain,
ProcessActivityTreeOptions
options)
860
ProcessActivityTreeCore(subtreeRoot, parentChain,
ProcessActivityTreeOptions
.GetFinishCachingSubtreeOptions(options), new ProcessActivityCallback(NoOpCallback), ref discardedValidationErrors);
863
public static void FinishCachingSubtree(ChildActivity subtreeRoot, ActivityCallStack parentChain,
ProcessActivityTreeOptions
options, ProcessActivityCallback callback)
866
ProcessActivityTreeCore(subtreeRoot, parentChain,
ProcessActivityTreeOptions
.GetFinishCachingSubtreeOptions(options), callback, ref discardedValidationErrors);
873
static bool ShouldShortcut(Activity activity,
ProcessActivityTreeOptions
options)
883
static void ProcessActivityTreeCore(ChildActivity currentActivity, ActivityCallStack parentChain,
ProcessActivityTreeOptions
options, ProcessActivityCallback callback, ref IList<ValidationError> validationErrors)
System\Activities\Debugger\SourceLocationProvider.cs (4)
213
ActivityUtilities.CacheRootMetadata(workflowRoot, new ActivityLocationReferenceEnvironment(),
ProcessActivityTreeOptions
.ValidationOptions, null, ref validationErrors);
285
ActivityUtilities.CacheRootMetadata(realRoot1, new ActivityLocationReferenceEnvironment(),
ProcessActivityTreeOptions
.ValidationOptions, null, ref validationErrors);
293
ActivityUtilities.CacheRootMetadata(realRoot2, new ActivityLocationReferenceEnvironment(),
ProcessActivityTreeOptions
.ValidationOptions, null, ref validationErrors);
385
ActivityUtilities.CacheRootMetadata(realRoot, new ActivityLocationReferenceEnvironment(),
ProcessActivityTreeOptions
.ValidationOptions, null, ref validationErrors);
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (3)
150
private static
ProcessActivityTreeOptions
ProcessTreeOptions(bool forImplementation)
152
return forImplementation ?
ProcessActivityTreeOptions
.DynamicUpdateOptionsForImplementation :
ProcessActivityTreeOptions
.DynamicUpdateOptions;
System\Activities\Hosting\WorkflowInstance.cs (1)
380
ActivityUtilities.CacheRootMetadata(WorkflowDefinition, localEnvironment,
ProcessActivityTreeOptions
.FullCachingOptions, null, ref validationErrors);
System\Activities\ProcessActivityTreeOptions.cs (39)
13
static
ProcessActivityTreeOptions
validationOptions;
14
static
ProcessActivityTreeOptions
validationAndPrepareForRuntimeOptions;
15
static
ProcessActivityTreeOptions
singleLevelValidationOptions;
16
static
ProcessActivityTreeOptions
fullCachingOptions;
17
static
ProcessActivityTreeOptions
dynamicUpdateOptions;
18
static
ProcessActivityTreeOptions
dynamicUpdateOptionsForImplementation;
19
static
ProcessActivityTreeOptions
finishCachingSubtreeOptionsWithCreateEmptyBindings;
20
static
ProcessActivityTreeOptions
finishCachingSubtreeOptionsWithoutCreateEmptyBindings;
21
static
ProcessActivityTreeOptions
skipRootFinishCachingSubtreeOptions;
22
static
ProcessActivityTreeOptions
skipRootConfigurationValidationOptions;
23
static
ProcessActivityTreeOptions
singleLevelSkipRootConfigurationValidationOptions;
98
public static
ProcessActivityTreeOptions
FullCachingOptions
116
public static
ProcessActivityTreeOptions
ValidationOptions
135
public static
ProcessActivityTreeOptions
ValidationAndPrepareForRuntimeOptions
153
static
ProcessActivityTreeOptions
SkipRootConfigurationValidationOptions
174
static
ProcessActivityTreeOptions
SingleLevelSkipRootConfigurationValidationOptions
195
static
ProcessActivityTreeOptions
SingleLevelValidationOptions
215
static
ProcessActivityTreeOptions
FinishCachingSubtreeOptionsWithoutCreateEmptyBindings
234
static
ProcessActivityTreeOptions
SkipRootFinishCachingSubtreeOptions
254
static
ProcessActivityTreeOptions
FinishCachingSubtreeOptionsWithCreateEmptyBindings
274
public static
ProcessActivityTreeOptions
DynamicUpdateOptions
291
public static
ProcessActivityTreeOptions
DynamicUpdateOptionsForImplementation
309
public static
ProcessActivityTreeOptions
GetFinishCachingSubtreeOptions(
ProcessActivityTreeOptions
originalOptions)
311
ProcessActivityTreeOptions
result;
316
result =
ProcessActivityTreeOptions
.FinishCachingSubtreeOptionsWithCreateEmptyBindings;
322
result =
ProcessActivityTreeOptions
.SkipRootFinishCachingSubtreeOptions;
326
result =
ProcessActivityTreeOptions
.FinishCachingSubtreeOptionsWithoutCreateEmptyBindings;
340
public static
ProcessActivityTreeOptions
GetValidationOptions(ValidationSettings settings)
342
ProcessActivityTreeOptions
result = null;
345
result =
ProcessActivityTreeOptions
.SingleLevelSkipRootConfigurationValidationOptions;
349
result =
ProcessActivityTreeOptions
.SkipRootConfigurationValidationOptions;
353
result =
ProcessActivityTreeOptions
.SingleLevelValidationOptions;
358
result =
ProcessActivityTreeOptions
.ValidationAndPrepareForRuntimeOptions;
362
result =
ProcessActivityTreeOptions
.ValidationOptions;
374
static
ProcessActivityTreeOptions
AttachCancellationToken(
ProcessActivityTreeOptions
result, CancellationToken cancellationToken)
376
ProcessActivityTreeOptions
clone = result.Clone();
381
ProcessActivityTreeOptions
Clone()
System\Activities\Validation\ActivityValidationServices.cs (7)
88
internal static List<Activity> GetChildren(ActivityUtilities.ChildActivity root, ActivityUtilities.ActivityCallStack parentChain,
ProcessActivityTreeOptions
options)
282
static internal string GenerateValidationErrorPrefix(Activity toValidate, ActivityUtilities.ActivityCallStack parentChain,
ProcessActivityTreeOptions
options, out Activity source)
359
internal static void RunConstraints(ActivityUtilities.ChildActivity childActivity, ActivityUtilities.ActivityCallStack parentChain, IList<Constraint> constraints,
ProcessActivityTreeOptions
options, bool suppressGetChildrenViolations, ref IList<ValidationError> validationErrors)
466
ProcessActivityTreeOptions
options;
479
this.options =
ProcessActivityTreeOptions
.GetValidationOptions(this.settings);
547
ProcessActivityTreeOptions
options = this.options.SkipRootConfigurationValidation ? this.options :
ProcessActivityTreeOptions
.FullCachingOptions;
System\Activities\Validation\ValidationContext.cs (2)
18
ProcessActivityTreeOptions
options;
20
internal ValidationContext(ActivityUtilities.ChildActivity owner, ActivityUtilities.ActivityCallStack parentChain,
ProcessActivityTreeOptions
options, LocationReferenceEnvironment environment)
System\Activities\WorkflowInspectionServices.cs (4)
39
ActivityUtilities.CacheRootMetadata(rootActivity, hostEnvironment,
ProcessActivityTreeOptions
.FullCachingOptions, null, ref validationErrors);
60
ActivityUtilities.CacheRootMetadata(root, new ActivityLocationReferenceEnvironment(),
ProcessActivityTreeOptions
.FullCachingOptions, null, ref validationErrors);
87
ActivityUtilities.CacheRootMetadata(activity, new ActivityLocationReferenceEnvironment(),
ProcessActivityTreeOptions
.FullCachingOptions, null, ref validationErrors);
190
ActivityUtilities.CacheRootMetadata(activity, new ActivityLocationReferenceEnvironment(),
ProcessActivityTreeOptions
.FullCachingOptions, null, ref validationErrors);
System\Activities\XamlIntegration\ActivityXamlServices.cs (1)
350
ActivityUtilities.CacheRootMetadata((Activity)dynamicActivity, environment,
ProcessActivityTreeOptions
.FullCachingOptions, null, ref validationErrors);
System\Activities\XamlIntegration\TextExpressionCompiler.cs (1)
231
ActivityUtilities.CacheRootMetadata(this.settings.Activity, new ActivityLocationReferenceEnvironment(),
ProcessActivityTreeOptions
.FullCachingOptions, null, ref validationErrors);