75 references to Enabled
System.Workflow.Activities (29)
Common\CompModHelpers.cs (3)
938if (childActivity.Enabled && 1309if (activity.Enabled) 1482if (activity.Enabled)
Common\ValidationHelpers.cs (1)
112if (activity.Enabled)
ConstrainedGroup.cs (2)
218if (!addedActivity.Enabled) 239if (!removedActivity.Enabled)
CorrelationValidator.cs (2)
186if (!args.CurrentActivity.Enabled) 217if (!currentActivity.Enabled)
Designers\StateDesigner.cs (3)
351if (!eventDrivenDesigner.Activity.Enabled) 369if (!stateInitializationDesigner.Activity.Enabled) 387if (!stateFinalizationDesigner.Activity.Enabled)
LocalService\CorrelationTokenTypeConvertor.cs (4)
117if (siblingActivity.Enabled) 138if (!activity.Enabled) 147if (nestedActivity.Enabled) 153if (containedActivity.Enabled)
State.cs (1)
585if (!addedActivity.Enabled)
StateMachineAction.cs (4)
127Debug.Assert(childState.Enabled); 155Debug.Assert(eventDriven.Enabled); 183Debug.Assert(eventDriven.Enabled); 211Debug.Assert(eventDriven.Enabled);
StateMachineHelpers.cs (1)
232if (child.Enabled)
StateValidator.cs (3)
174if (!activity.Enabled) 203if (!activity.Enabled) 354if (!activity.Enabled || activity == firstEventActivity)
WebServiceResponse.cs (5)
466if (!activity.Enabled) 475if (nestedActivity.Enabled) 481if (containedActivity.Enabled) 539if (siblingActivity.Enabled) 647if (siblingActivity.Enabled)
System.Workflow.ComponentModel (29)
AuthoringOM\Activity.cs (7)
1541if (childActivity.Enabled && !(childActivity.ExecutionStatus == ActivityExecutionStatus.Initialized || childActivity.ExecutionStatus == ActivityExecutionStatus.Closed)) 1795if (completedChild2.Enabled) 2136if (activity.Enabled && !Helpers.IsFrameworkActivity(activity)) 2152if (activity.Enabled && Helpers.IsFrameworkActivity(activity)) 2200if (childActivity.Enabled) 2233if (childActivity.Enabled) 2246if (childActivity.Enabled)
AuthoringOM\ActivityExecutionContext.cs (3)
641if (activity.Enabled && activity.Parent == this.currentActivity.WorkflowCoreRuntime.CurrentActivity && (allowContextVariance || activity.Equals(this.Activity.GetActivityByName(activity.QualifiedName, true)))) 655while (parentActivity != null && parentActivity.Enabled && parentActivity.Parent != this.currentActivity.ContextActivity) 658return (parentActivity != null && parentActivity.Enabled);
AuthoringOM\Compiler\Validation\ActivityValidator.cs (1)
32if (activity.Enabled == false)
AuthoringOM\Compiler\XomlCompiler.cs (1)
821if (!currentActivity.Enabled)
AuthoringOM\Compiler\XomlCompilerHelpers.cs (1)
646if (!currentActivity.Enabled && AppSettings.AllowXCode)
AuthoringOM\Design\ActivityDesigner.cs (4)
439if (activity.Enabled && !isNestedInComment && !IsLocked && activity.Site != null && !debugMode) 505Activity.Enabled && !isNestedInComment && !debugMode && 510if (!Activity.Enabled && !isNestedInComment) 896isNestedComment = (parentActivity != null && !parentActivity.Enabled);
AuthoringOM\Design\ActivityPreviewDesigner.cs (1)
340if (!activity.Enabled && !ActivityDesigner.IsCommentedActivity(activity))
AuthoringOM\Design\CommandSet.cs (3)
527(i > 0 && enabledPropertyValue != activity.Enabled) || 534enabledPropertyValue = activity.Enabled; 656propertyDescriptor.SetValue(activity, !activity.Enabled);
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (1)
1079if (!activity.Enabled || Helpers.IsActivityLocked(activity))
AuthoringOM\Design\DocumentOutline.cs (1)
480this.ForeColor = (!activity.Enabled || ActivityDesigner.IsCommentedActivity(activity)) ? WorkflowTheme.CurrentTheme.AmbientTheme.CommentIndicatorColor : SystemColors.WindowText;
AuthoringOM\ScheduleChanges.cs (2)
383if (!activity.Enabled) 387return activity.Enabled;
Shared\CompModHelpers.cs (3)
936if (childActivity.Enabled && 1307if (activity.Enabled) 1480if (activity.Enabled)
Shared\ValidationHelpers.cs (1)
111if (activity.Enabled)
System.Workflow.Runtime (3)
CorrelationToken.cs (1)
198if ((typeof(CompositeActivity).IsAssignableFrom(currentActivity.GetType())) && currentActivity.Enabled)
DebugEngine\DebugController.cs (1)
956if (rootActivity == null || !rootActivity.Enabled)
System\Activities\Statements\Interop.cs (1)
357if (!this.ComponentModelActivity.Enabled)
System.WorkflowServices (14)
System\Workflow\Activities\ChannelToken.cs (1)
280if (currentActivity.Enabled)
System\Workflow\Activities\ChannelTokenTypeConverter.cs (4)
112if (!activity.Enabled) 119if (containedActivity.Enabled) 127if (nestedActivity.Enabled) 155if (siblingActivity.Enabled)
System\Workflow\Activities\ContextToken.cs (1)
281if (currentActivity.Enabled)
System\Workflow\Activities\ContextTokenTypeConverter.cs (4)
112if (!activity.Enabled) 119if (containedActivity.Enabled) 127if (nestedActivity.Enabled) 155if (siblingActivity.Enabled)
System\Workflow\Activities\Design\ServiceOperationUIEditor.cs (1)
51if (!foundActivity.Enabled)
System\Workflow\Activities\ReceiveActivity.cs (1)
638if (!this.Enabled)
System\Workflow\Activities\ValidationHelper.cs (2)
1068if (rootActivity == null || !rootActivity.Enabled) 1077if (!activity.Enabled)