Ejemplo n.º 1
0
 private string CompileCondition(NotEmptyCondition condition)
 {
     if (condition is ComplexCondition)
     {
         return(CompileCondition((ComplexCondition)condition));
     }
     else if (condition is SimpleCondition)
     {
         return(CompileCondition((SimpleCondition)condition));
     }
     else
     {
         throw new NotSupportedException();
     }
 }
Ejemplo n.º 2
0
 private string CompileCondition(NotEmptyCondition condition)
 {
     if(condition is ComplexCondition) {
         return CompileCondition((ComplexCondition)condition);
     } else if(condition is SimpleCondition) {
         return CompileCondition((SimpleCondition)condition);
     } else {
         throw new NotSupportedException();
     }
 }