internal IfOp(OperatorOp condition, StatementOp then, StatementOp elze) { if (condition == null || then == null) { throw new LockingException(StringConsts.ARGUMENT_ERROR + "IfOp(condition|then==null)"); } Condition = condition; Then = then; Else = elze; }
public static IfOp If(OperatorOp condition, StatementOp then, StatementOp elze = null) { return(new IfOp(condition, then, elze)); }