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