Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 public static IfOp If(OperatorOp condition, StatementOp then, StatementOp elze = null)
 {
     return(new IfOp(condition, then, elze));
 }