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(); } }
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(); } }