04 2015 档案

摘要:扩展其实真的很简单 msdn是这样规定扩展方法的:“扩展方法被定义为静态方法,但它们是通过实例方法语法进行调用的。 它们的第一个参数指定该方法作用于哪个类型,并且该参数以 this 修饰符为前缀。” 扩展方法的关键不在于定义所在的class的名字,关键在于扩展方法的第一个参数,以及所有class和扩展方法是否为static。 扩展方法的第一个参数指定这个扩展方法作用在的class。 比... 阅读全文
posted @ 2015-04-27 11:46 LARSON _ 阅读(139) 评论(0) 推荐(0)
摘要:quiesce tablespace quiesce tablespaces for table share; Monitor Switches details on http://publib.boulder.ibm.com/infocenter/db2luw/v10r1/topic/com.ibm.db2.luw.admin.mon.doc/doc/c0005719.html ... 阅读全文
posted @ 2015-04-13 10:12 LARSON _ 阅读(254) 评论(0) 推荐(0)
摘要:You must write a failing unit test before you write production code. You must stop writing that unit test as soon as it fails; and not compiling is failing. You must stop writing production c... 阅读全文
posted @ 2015-04-13 09:58 LARSON _ 阅读(831) 评论(0) 推荐(0)