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