01 2013 档案

摘要: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 阅读(487) 评论(0) 推荐(0)
摘要:These pages are a brief overview of each of the patterns in P of EAA. They aren't intended to stand alone, but merely as a quick aide-memoire for those familiar with them, and a handy link if you want to refer to one online. In the future I may add some post-publication comments into the materia 阅读全文
posted @ 2013-01-18 18:53 chunchill 阅读(300) 评论(0) 推荐(0)