internal override bool Evaluate(string filename) { bool flag = Left.Evaluate(filename); switch (Conjunction) { case LogicalConjunction.AND: if (flag) { flag = Right.Evaluate(filename); } break; case LogicalConjunction.OR: if (!flag) { flag = Right.Evaluate(filename); } break; case LogicalConjunction.XOR: flag ^= Right.Evaluate(filename); break; default: throw new ArgumentException("Conjunction"); } return(flag); }
internal override bool Evaluate(string filename) { bool result = Left.Evaluate(filename); switch (Conjunction) { case LogicalConjunction.AND: if (result) { result = Right.Evaluate(filename); } break; case LogicalConjunction.OR: if (!result) { result = Right.Evaluate(filename); } break; case LogicalConjunction.XOR: result ^= Right.Evaluate(filename); break; default: throw new ArgumentException("Conjunction"); } return(result); }
private bool Evaluate(string filename) { // dinoch - Thu, 11 Feb 2010 18:34 SelectorTrace("Evaluate({0})", filename); bool result = _Criterion.Evaluate(filename); return(result); }
private bool Evaluate(string filename) { bool result = _Criterion.Evaluate(filename); return(result); }
private bool Evaluate(string filename) { return(_Criterion.Evaluate(filename)); }