public ElseClause Then([NotNull] IFlowNode node) { var conditionNode = myBuilder .Condition(myConditionDescription) .WithCondition(myCondition) .ConnectTrueTo(node.NotNull()); ParentConditionNode?.ConnectFalseTo(conditionNode); return(new ElseClause(myBuilder, conditionNode) { InitialConditionNode = InitialConditionNode }); }
public ConditionNode Else([NotNull] IFlowNode node) { myConditionNode.ConnectFalseTo(node.NotNull()); return(InitialConditionNode ?? myConditionNode); }