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