2014年4月21日
摘要: 曾经有人问我这样一个问题:如何迫使子类提供无参构造函数。当时给出的答案是让子类实现这样一个接口。 public interface IMustHaveParameterLessConstructor where T : IMustHaveParameterLessConstructor, n... 阅读全文
posted @ 2014-04-21 20:10 程序点滴 阅读(230) 评论(0) 推荐(0) 编辑

全讯网   全讯网