public override object SatisfiedBy(Dictionary <string, object> values) { Contract.RequiresNotNull(values, "values != null"); var leftValue = LeftSide.SatisfiedBy(values); var rightValue = RightSide.SatisfiedBy(values) as object[]; return(rightValue.Contains(leftValue)); }
public override object SatisfiedBy(Dictionary <string, object> dictionary) { Contract.RequiresNotNull(dictionary, "dictionary != null"); return(Equals(LeftSide.SatisfiedBy(dictionary), true) && Equals(RightSide.SatisfiedBy(dictionary), true)); }
public override object SatisfiedBy(Dictionary <string, object> dictionary) { Contract.RequiresNotNull(dictionary, "dictionary != null"); return(Convert.ToBoolean(LeftSide.SatisfiedBy(dictionary))); }
public override Expression <Func <T, bool> > SatisfiedBy() { return(Compose(LeftSide.SatisfiedBy(), RightSide.SatisfiedBy(), Expression.AndAlso)); }
public override bool SatisfiedBy(T value) { return(LeftSide.SatisfiedBy(value) && RightSide.SatisfiedBy(value)); }
public override object SatisfiedBy(Dictionary <string, object> dictionary) { return(Equals(LeftSide.SatisfiedBy(dictionary), null)); }
public override object SatisfiedBy(Dictionary <string, object> values) { Contract.RequiresNotNull(values, "values != null"); return(Equals(LeftSide.SatisfiedBy(values), RightSide.SatisfiedBy(values))); }