public IAction[] GetAllActionsFlat() { return(new IAction[] { ActionIf, ActionElse, Checker } .Union(ActionIf.GetAllActionsFlat()) .Union(ActionElse.GetAllActionsFlat()) .Union(Checker.GetAllActionsFlat()) .ToArray()); }
public void SetValue(ExecutionContext context, string value) { if (Checker.Evaluate(context)) { ActionIf.SetValue(context, string.Empty); } else { ActionElse.SetValue(context, string.Empty); } }