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