public static T Where <T>(this IWhereConfiguration <T> configuration, Expression <Func <IFakeObjectCall, bool> > predicate) { Guard.AgainstNull(configuration, "configuration"); Guard.AgainstNull(predicate, "predicate"); return(configuration.Where(predicate.Compile(), x => x.Write(predicate.ToString()))); }
public static T Where <T>(this IWhereConfiguration <T> configuration, Expression <Func <IFakeObjectCall, bool> > predicate) { return(configuration.Where(predicate.Compile(), x => x.Write(predicate.ToString()))); }