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
阅读全文
摘要: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
阅读全文