5 instantiations of RuleDefinitions
System.Workflow.Activities (5)
Rules\ConditionChanges.cs (2)
92
rules = new
RuleDefinitions
();
322
rules = new
RuleDefinitions
();
Rules\Helpers.cs (2)
124
rules = new
RuleDefinitions
();
135
rules = new
RuleDefinitions
();
Rules\RuleDefinitions.cs (1)
107
RuleDefinitions newRuleDefinitions = new
RuleDefinitions
();
75 references to RuleDefinitions
System.Workflow.Activities (74)
Designers\PolicyDesigner.cs (1)
44
RuleDefinitions
rules = ConditionHelper.Load_Rules_DT(this, Helpers.GetRootActivity(activity));
Policy.cs (3)
70
RuleDefinitions
ruleDefinitions = (
RuleDefinitions
)declaringActivity.GetValue(
RuleDefinitions
.RuleDefinitionsProperty);
Rules\ConditionChanges.cs (20)
89
RuleDefinitions
rules = rootActivity.GetValue(
RuleDefinitions
.RuleDefinitionsProperty) as
RuleDefinitions
;
93
((Activity)rootActivity).SetValue(
RuleDefinitions
.RuleDefinitionsProperty, rules);
160
RuleDefinitions
rules = rootActivity.GetValue(
RuleDefinitions
.RuleDefinitionsProperty) as
RuleDefinitions
;
252
RuleDefinitions
rules = rootActivity.GetValue(
RuleDefinitions
.RuleDefinitionsProperty) as
RuleDefinitions
;
319
RuleDefinitions
rules = rootActivity.GetValue(
RuleDefinitions
.RuleDefinitionsProperty) as
RuleDefinitions
;
323
((Activity)rootActivity).SetValue(
RuleDefinitions
.RuleDefinitionsProperty, rules);
386
RuleDefinitions
rules = rootActivity.GetValue(
RuleDefinitions
.RuleDefinitionsProperty) as
RuleDefinitions
;
470
RuleDefinitions
rules = rootActivity.GetValue(
RuleDefinitions
.RuleDefinitionsProperty) as
RuleDefinitions
;
Rules\DeclarativeExpressionConditionDeclaration.cs (6)
243
RuleDefinitions
defs = null;
254
defs = (
RuleDefinitions
)activity.GetActivityByName(declaringActivityId).GetValue(
RuleDefinitions
.RuleDefinitionsProperty);
287
private static
RuleDefinitions
GetRuleDefinitions(
313
RuleDefinitions
definitions = GetRuleDefinitions(ownerActivity, out declaringActivity);
364
RuleDefinitions
rules = null;
Rules\Design\Dialogs\ConditionBrowserDialog.cs (1)
37
RuleDefinitions
rules = ConditionHelper.Load_Rules_DT(activity.Site, Helpers.GetRootActivity(activity));
Rules\Design\Dialogs\RuleSetBrowserDialog.cs (1)
26
RuleDefinitions
rules = ConditionHelper.Load_Rules_DT(activity.Site, Helpers.GetRootActivity(activity));
Rules\Design\LogicalExpressionEditor.cs (2)
47
RuleDefinitions
rules = ConditionHelper.Load_Rules_DT(serviceProvider, Helpers.GetRootActivity(baseActivity));
213
RuleDefinitions
rules = ConditionHelper.Load_Rules_DT(serviceProvider, Helpers.GetRootActivity(baseActivity));
Rules\Design\LogicalExpressionTypeConverter.cs (7)
24
protected
RuleDefinitions
GetRuleDefinitions(object component)
133
RuleDefinitions
rules = ConditionHelper.Load_Rules_DT(site, Helpers.GetRootActivity(site.Component as Activity));
282
RuleDefinitions
rules = ConditionHelper.Load_Rules_DT(site, Helpers.GetRootActivity(site.Component as Activity));
346
RuleDefinitions
rules = GetRuleDefinitions(component);
390
RuleDefinitions
rules = ConditionHelper.Load_Rules_DT(site, Helpers.GetRootActivity(site.Component as Activity));
446
RuleDefinitions
rules = GetRuleDefinitions(component);
490
RuleDefinitions
rules = ConditionHelper.Load_Rules_DT(site, Helpers.GetRootActivity(site.Component as Activity));
Rules\Helpers.cs (19)
105
internal static
RuleDefinitions
Load_Rules_DT(IServiceProvider serviceProvider, DependencyObject activity)
107
RuleDefinitions
rules = (
RuleDefinitions
)activity.GetValue(
RuleDefinitions
.RuleDefinitionsProperty);
129
rules = new WorkflowMarkupSerializer().Deserialize(xmlReader) as
RuleDefinitions
;
139
activity.SetValue(
RuleDefinitions
.RuleDefinitionsProperty, rules);
146
RuleDefinitions
rules = (
RuleDefinitions
)activity.GetValue(
RuleDefinitions
.RuleDefinitionsProperty);
176
internal static
RuleDefinitions
Load_Rules_RT(Activity declaringActivity)
178
RuleDefinitions
rules = declaringActivity.GetValue(
RuleDefinitions
.RuleDefinitionsProperty) as
RuleDefinitions
;
183
declaringActivity.SetValue(
RuleDefinitions
.RuleDefinitionsProperty, rules);
194
internal static
RuleDefinitions
GetRuleDefinitionsFromManifest(Type workflowType)
199
RuleDefinitions
rules = null;
203
rules = (
RuleDefinitions
)cloneableOrNullRulesResources[workflowType];
224
rules = new WorkflowMarkupSerializer().Deserialize(xmlReader) as
RuleDefinitions
;
232
RuleDefinitions
originalRules = rules;
Rules\RuleDefinitions.cs (12)
19
public static readonly DependencyProperty RuleDefinitionsProperty = DependencyProperty.RegisterAttached("RuleDefinitions", typeof(
RuleDefinitions
), typeof(
RuleDefinitions
), new PropertyMetadata(null, DependencyPropertyOptions.Metadata, new GetValueOverride(OnGetRuleConditions), null, new Attribute[] { new DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden) }));
54
RuleDefinitions
rules = dependencyObject.GetValueBase(
RuleDefinitions
.RuleDefinitionsProperty) as
RuleDefinitions
;
63
dependencyObject.SetValue(
RuleDefinitions
.RuleDefinitionsProperty, rules);
84
RuleDefinitions
originalRules = originalDefinition as
RuleDefinitions
;
85
RuleDefinitions
changedRules = changedDefinition as
RuleDefinitions
;
105
internal
RuleDefinitions
Clone()
107
RuleDefinitions
newRuleDefinitions = new RuleDefinitions();
Rules\RuleSetReference.cs (2)
79
RuleDefinitions
rules = ConditionHelper.Load_Rules_RT(declaringActivity);
119
RuleDefinitions
rules = null;
System.WorkflowServices (1)
System\Workflow\Runtime\StreamedWorkflowDefinitionContext.cs (1)
289
root.SetValue(System.Workflow.Activities.Rules.
RuleDefinitions
.RuleDefinitionsProperty, rules);