This should work:-
Bind(typeof(IRepository<>)).To(typeof(Repository<>));
where:-
IRepository<> is an interface of the form:-
public interface IRepository<T> where T :class
{
//...
}
Repository<> is a class of the form:-
public class Repository<T>:IRepository<T> where T :class
{
//...
}