Beispiel #1
0
        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())));
        }
Beispiel #2
0
 public static T Where <T>(this IWhereConfiguration <T> configuration, Expression <Func <IFakeObjectCall, bool> > predicate)
 {
     return(configuration.Where(predicate.Compile(), x => x.Write(predicate.ToString())));
 }