2 types derived from ActivityCondition
System.Workflow.Activities (2)
CodeExpressionRuleDeclaration.cs (1)
21public class CodeCondition : ActivityCondition
Rules\DeclarativeExpressionConditionDeclaration.cs (1)
216public class RuleConditionReference : ActivityCondition
33 references to ActivityCondition
System.Workflow.Activities (23)
Conditional.cs (1)
55public IfElseBranchActivity AddBranch(ICollection<Activity> activities, ActivityCondition branchCondition)
ConditionalBranch.cs (3)
40public static readonly DependencyProperty ConditionProperty = DependencyProperty.Register("Condition", typeof(ActivityCondition), typeof(IfElseBranchActivity), new PropertyMetadata(DependencyPropertyOptions.Metadata)); 47public ActivityCondition Condition 51return base.GetValue(ConditionProperty) as ActivityCondition;
ConstrainedGroup.cs (6)
37public static readonly DependencyProperty WhenConditionProperty = DependencyProperty.RegisterAttached("WhenCondition", typeof(ActivityCondition), typeof(ConditionedActivityGroup), new PropertyMetadata(DependencyPropertyOptions.Metadata), typeof(WhenUnlessConditionDynamicPropertyValidator)); 40public static readonly DependencyProperty UntilConditionProperty = DependencyProperty.Register("UntilCondition", typeof(ActivityCondition), typeof(ConditionedActivityGroup), new PropertyMetadata(DependencyPropertyOptions.Metadata)); 79public ActivityCondition UntilCondition 83return base.GetValue(UntilConditionProperty) as ActivityCondition; 408ActivityCondition whenCondition = (ActivityCondition)child.GetValue(ConditionedActivityGroup.WhenConditionProperty);
Designers\CAGDesigner.cs (3)
88public ActivityCondition GetWhenCondition(Activity activity) 91return activity.GetValue(ConditionedActivityGroup.WhenConditionProperty) as ActivityCondition; 98public void SetWhenCondition(Activity activity, ActivityCondition handler)
Schedule.cs (2)
51public ActivityCondition DynamicUpdateCondition 55return WorkflowChanges.GetCondition(this) as ActivityCondition;
StateMachineWorkflow.cs (2)
49public ActivityCondition DynamicUpdateCondition 53return WorkflowChanges.GetCondition(this) as ActivityCondition;
Task.cs (3)
38public static readonly DependencyProperty UntilConditionProperty = DependencyProperty.Register("UntilCondition", typeof(ActivityCondition), typeof(ReplicatorActivity), new PropertyMetadata(DependencyPropertyOptions.Metadata)); 135public ActivityCondition UntilCondition 139return base.GetValue(UntilConditionProperty) as ActivityCondition;
While.cs (3)
32public static readonly DependencyProperty ConditionProperty = DependencyProperty.Register("Condition", typeof(ActivityCondition), typeof(WhileActivity), new PropertyMetadata(DependencyPropertyOptions.Metadata, new Attribute[] { new ValidationOptionAttribute(ValidationOption.Required) })); 51public ActivityCondition Condition 55return base.GetValue(ConditionProperty) as ActivityCondition;
System.Workflow.ComponentModel (9)
AuthoringOM\Compiler\Validation\ConditionValidator.cs (3)
12ActivityCondition conditionDeclaration = obj as ActivityCondition; 14throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(ActivityCondition).FullName), "obj");
AuthoringOM\Design\TypeConverters.cs (3)
88if (destinationType == typeof(string) && value is ActivityCondition) 115return new StandardValuesCollection((ActivityCondition[])conditionDeclList.ToArray(typeof(ActivityCondition)));
AuthoringOM\ScheduleChanges.cs (3)
28public static readonly DependencyProperty ConditionProperty = DependencyProperty.RegisterAttached("Condition", typeof(ActivityCondition), typeof(WorkflowChanges), new PropertyMetadata(DependencyPropertyOptions.Metadata)); 343ActivityCondition dynamicUpdateCondition = ((Activity)workflowCoreRuntime.RootActivity).GetValue(WorkflowChanges.ConditionProperty) as ActivityCondition;
System.Workflow.Runtime (1)
System\Activities\Statements\InteropEnvironment.cs (1)
297static readonly Type activityConditionType = typeof(System.Workflow.ComponentModel.ActivityCondition);