dimanche 26 février 2017

Binding second type parameter through reflection

Is there a way to create a generic type with unbound first parameter but with bound second parameter? More specifically, I need to call Queryable.Where<T>(IQueryable<T> source, Expression<Func<T, bool>> predicate) and don't know how to distinguish between overloads, one of which takes Expression<Func<T, int, bool>>





Aucun commentaire:

Enregistrer un commentaire