摘要:
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 阅读全文
posted @ 2013-01-31 08:50
chunchill
阅读(488)
评论(0)
推荐(0)


浙公网安备 33010602011771号