3 types derived from RuleAction
System.Workflow.Activities (3)
Rules\RuleAction.cs (3)
25
public class RuleHaltAction :
RuleAction
68
public class RuleUpdateAction :
RuleAction
208
public class RuleStatementAction :
RuleAction
47 references to RuleAction
System.Workflow.Activities (47)
Rules\Design\DesignerHelpers.cs (2)
43
foreach (
RuleAction
action in rule.ThenActions)
52
foreach (
RuleAction
action in rule.ElseActions)
Rules\Design\Dialogs\RuleSetDialog.cs (6)
254
List<
RuleAction
> ruleThenActions = this.ruleParser.ParseStatementList(this.thenTextBox.Text);
257
foreach (
RuleAction
ruleAction in ruleThenActions)
278
List<
RuleAction
> ruleElseActions = this.ruleParser.ParseStatementList(this.elseTextBox.Text);
281
foreach (
RuleAction
ruleAction in ruleElseActions)
465
private static string GetActionsString(IList<
RuleAction
> actions)
473
foreach (
RuleAction
ruleAction in actions)
Rules\Executor.cs (4)
402
ICollection<
RuleAction
> actions = (result) ?
418
foreach (
RuleAction
action in actions)
651
private static ICollection<string> GetActionSideEffects(RuleChainingBehavior behavior, IList<
RuleAction
> actions, RuleValidation validation)
656
foreach (
RuleAction
action in actions)
Rules\Parser\Parser.cs (12)
1047
internal
RuleAction
ParseSingleStatement(string statementString)
1051
RuleAction
result = ParseStatement(parserContext);
1058
internal List<
RuleAction
> ParseStatementList(string statementString)
1073
private List<
RuleAction
> ParseStatements(ParserContext parserContext)
1075
List<
RuleAction
> statements = new List<
RuleAction
>();
1078
RuleAction
statement = ParseStatement(parserContext);
1100
private
RuleAction
ParseStatement(ParserContext parserContext)
1102
RuleAction
action = null;
1174
TypeProvider.IsAssignable(typeof(
RuleAction
), type))
1184
action = (
RuleAction
)ConstructCustomType(type, arguments, lparenPosition);
2837
private void ValidateAction(ParserContext parserContext,
RuleAction
action)
Rules\Rule.cs (17)
32
internal IList<
RuleAction
> thenActions;
33
internal IList<
RuleAction
> elseActions;
45
public Rule(string name, RuleCondition condition, IList<
RuleAction
> thenActions)
52
public Rule(string name, RuleCondition condition, IList<
RuleAction
> thenActions, IList<
RuleAction
> elseActions)
127
public IList<
RuleAction
> ThenActions
129
get { if (thenActions == null) thenActions = new List<
RuleAction
>(); return thenActions; }
133
public IList<
RuleAction
> ElseActions
135
get { if (elseActions == null) elseActions = new List<
RuleAction
>(); return elseActions; }
179
private static void ValidateRuleActions(ICollection<
RuleAction
> ruleActions, RuleValidation validator)
183
foreach (
RuleAction
action in ruleActions)
209
newRule.thenActions = new List<
RuleAction
>();
210
foreach (
RuleAction
thenAction in this.thenActions)
216
newRule.elseActions = new List<
RuleAction
>();
217
foreach (
RuleAction
elseAction in this.elseActions)
254
private static bool ActionsEqual(IList<
RuleAction
> myActions, IList<
RuleAction
> otherActions)
Rules\RuleAction.cs (6)
21
public abstract
RuleAction
Clone();
45
public override
RuleAction
Clone()
47
return (
RuleAction
)this.MemberwiseClone();
183
public override
RuleAction
Clone()
185
return (
RuleAction
)this.MemberwiseClone();
265
public override
RuleAction
Clone()