博客园 - idioruuid:6cbd1ba2-f883-4c34-aed1-30dde64a3a3e;id=6778362014-08-25T10:16:10Zidiorhttps://www.cnblogs.com/idior/feed.cnblogs.comhttps://www.cnblogs.com/idior/p/3164495.html每日代码 - 7/1 减小方法参数的依赖 - idiorpublic List queryItemDetails(List carts){ ItemRepository itemRepository=...; List result = List.newArrayList(); List ids...2013-07-01T03:03:00Z2013-07-01T03:03:00Zidiorhttps://www.cnblogs.com/idior/【摘要】public List queryItemDetails(List carts){ ItemRepository itemRepository=...; List result = List.newArrayList(); List ids... <a href="https://www.cnblogs.com/idior/p/3164495.html" target="_blank">阅读全文</a>https://www.cnblogs.com/idior/p/3160922.html每日代码 - 6/29 读写分离 - idiorpublic class CartMainTypeSelector {public static void selectCartMainType(CartContext context,CartOption options){Params params = context.getParams()...2013-06-28T07:16:00Z2013-06-28T07:16:00Zidiorhttps://www.cnblogs.com/idior/【摘要】public class CartMainTypeSelector {public static void selectCartMainType(CartContext context,CartOption options){Params params = context.getParams()... <a href="https://www.cnblogs.com/idior/p/3160922.html" target="_blank">阅读全文</a>https://www.cnblogs.com/idior/p/3160374.html每日代码 - 6/28 代码逻辑分组 - idiorint officialShopId = shopId;group.setShopId(officialShopId);XmpUser xmpSeller = buildXmpUser(seller.getSellerInfo());group.setSeller(xmpSeller);L...2013-06-28T02:32:00Z2013-06-28T02:32:00Zidiorhttps://www.cnblogs.com/idior/【摘要】int officialShopId = shopId;group.setShopId(officialShopId);XmpUser xmpSeller = buildXmpUser(seller.getSellerInfo());group.setSeller(xmpSeller);L... <a href="https://www.cnblogs.com/idior/p/3160374.html" target="_blank">阅读全文</a>https://www.cnblogs.com/idior/p/3159093.html每日代码 - 6/26 lambda表达式 - idiorpublic class CartViewRender { public static CartView renderMyCartView(Cart cart){ ErrorCodeEnum errorCode = null; try { ...2013-06-27T08:46:00Z2013-06-27T08:46:00Zidiorhttps://www.cnblogs.com/idior/【摘要】public class CartViewRender { public static CartView renderMyCartView(Cart cart){ ErrorCodeEnum errorCode = null; try { ... <a href="https://www.cnblogs.com/idior/p/3159093.html" target="_blank">阅读全文</a>https://www.cnblogs.com/idior/p/3158896.html每日代码 - 6/27 避免创建非法对象 - idiorpublic class BuyerHelper{ private static final UserRepository userRepository; public static void createAndCheckBuyer(Cart cart) { ...2013-06-27T07:38:00Z2013-06-27T07:38:00Zidiorhttps://www.cnblogs.com/idior/【摘要】public class BuyerHelper{ private static final UserRepository userRepository; public static void createAndCheckBuyer(Cart cart) { ... <a href="https://www.cnblogs.com/idior/p/3158896.html" target="_blank">阅读全文</a>https://www.cnblogs.com/idior/archive/2010/06/23/1763924.htmlResume - idiorSummary Ning Xu is the architect manager of PFS group in State Street Technology (Zhejiang). Mr. Xu is responsible for implementing the architecture d...2010-06-23T12:10:00Z2010-06-23T12:10:00Zidiorhttps://www.cnblogs.com/idior/【摘要】Summary Ning Xu is the architect manager of PFS group in State Street Technology (Zhejiang). Mr. Xu is responsible for implementing the architecture d... <a href="https://www.cnblogs.com/idior/archive/2010/06/23/1763924.html" target="_blank">阅读全文</a>https://www.cnblogs.com/idior/archive/2010/06/20/1761383.htmlCovariance and Contravariance - idior协变和逆变,这两个词的翻译实在很难表达出他们的真实含义。其实他们是继承和多态的衍生物,而且在.Net 1.0 和2.0中都提供了某种程度的支持,只是在.Net 4.0中支持的更加完善了。 简单说来,协变和逆变就是希望支持更多情况的隐式类型转换,使得我们的编程更加方便,而通常来说只有具备继承关系的两...2010-06-20T06:36:00Z2010-06-20T06:36:00Zidiorhttps://www.cnblogs.com/idior/【摘要】协变和逆变,这两个词的翻译实在很难表达出他们的真实含义。其实他们是继承和多态的衍生物,而且在.Net 1.0 和2.0中都提供了某种程度的支持,只是在.Net 4.0中支持的更加完善了。 简单说来,协变和逆变就是希望支持更多情况的隐式类型转换,使得我们的编程更加方便,而通常来说只有具备继承关系的两... <a href="https://www.cnblogs.com/idior/archive/2010/06/20/1761383.html" target="_blank">阅读全文</a>https://www.cnblogs.com/idior/archive/2010/06/14/1758232.htmlHow does ElementName Binding work? - idiorHow does ElementName Binding work? - Part 1 Logical Tree & NameScopeHow does ElementName Binding work – Part 2 BindingExpressionHow does ElementName B...2010-06-14T06:49:00Z2010-06-14T06:49:00Zidiorhttps://www.cnblogs.com/idior/【摘要】How does ElementName Binding work? - Part 1 Logical Tree & NameScopeHow does ElementName Binding work – Part 2 BindingExpressionHow does ElementName B... <a href="https://www.cnblogs.com/idior/archive/2010/06/14/1758232.html" target="_blank">阅读全文</a>https://www.cnblogs.com/idior/archive/2010/06/13/1757974.htmlWeird behavior of DataContext Inheritance - idiorActually there are several questions in this post, though all of them are about DataContext inheritance. I think you will have have fun with these que...2010-06-13T12:16:00Z2010-06-13T12:16:00Zidiorhttps://www.cnblogs.com/idior/【摘要】Actually there are several questions in this post, though all of them are about DataContext inheritance. I think you will have have fun with these que... <a href="https://www.cnblogs.com/idior/archive/2010/06/13/1757974.html" target="_blank">阅读全文</a>https://www.cnblogs.com/idior/archive/2010/06/12/1757151.htmlHow does ElementName Binding work – Part 3 InheritanceContext - idiorIn this part, I am going to introduce a new concept called InheritanceContext. In WPF, there are some elements are not FrameworkElement or even Vi...2010-06-12T07:19:00Z2010-06-12T07:19:00Zidiorhttps://www.cnblogs.com/idior/【摘要】In this part, I am going to introduce a new concept called InheritanceContext. In WPF, there are some elements are not FrameworkElement or even Vi... <a href="https://www.cnblogs.com/idior/archive/2010/06/12/1757151.html" target="_blank">阅读全文</a>https://www.cnblogs.com/idior/archive/2010/06/07/1753452.htmlHow does ElementName Binding work – Part 2 BindingExpression - idiorIn part 1, I gave a general finding rule for ElementName binding, it works in most cases, however there are some cases you cannot explain them with th...2010-06-07T12:28:00Z2010-06-07T12:28:00Zidiorhttps://www.cnblogs.com/idior/【摘要】In part 1, I gave a general finding rule for ElementName binding, it works in most cases, however there are some cases you cannot explain them with th... <a href="https://www.cnblogs.com/idior/archive/2010/06/07/1753452.html" target="_blank">阅读全文</a>https://www.cnblogs.com/idior/archive/2010/06/04/1751738.htmlLogical Tree & Visual Tree - idiorThe existing documentation about the visual tree and logical tree in the Windows SDK leaves much to be desired. Ever since I started with WPF, I have ...2010-06-04T13:14:00Z2010-06-04T13:14:00Zidiorhttps://www.cnblogs.com/idior/【摘要】The existing documentation about the visual tree and logical tree in the Windows SDK leaves much to be desired. Ever since I started with WPF, I have ... <a href="https://www.cnblogs.com/idior/archive/2010/06/04/1751738.html" target="_blank">阅读全文</a>https://www.cnblogs.com/idior/archive/2010/06/04/1751569.htmlMemory leak caused by EventHandle - weak event - idiorWhen using normal C# events, registering an event handler creates a strong reference from the event source to the listening object.If the source objec...2010-06-04T08:48:00Z2010-06-04T08:48:00Zidiorhttps://www.cnblogs.com/idior/【摘要】When using normal C# events, registering an event handler creates a strong reference from the event source to the listening object.If the source objec... <a href="https://www.cnblogs.com/idior/archive/2010/06/04/1751569.html" target="_blank">阅读全文</a>https://www.cnblogs.com/idior/archive/2010/05/31/1748112.htmlResources on Debugging/Tracing WPF - idiorIt is proven that we software developers spend more time debugging than actually writing code. Guess what?!! WPF is no different… We have to debug and...2010-05-31T05:05:00Z2010-05-31T05:05:00Zidiorhttps://www.cnblogs.com/idior/【摘要】It is proven that we software developers spend more time debugging than actually writing code. Guess what?!! WPF is no different… We have to debug and... <a href="https://www.cnblogs.com/idior/archive/2010/05/31/1748112.html" target="_blank">阅读全文</a>https://www.cnblogs.com/idior/archive/2010/05/28/1746513.htmlHow does ElementName Binding work? - Part 1 Logical Tree & NameScope - idiorMost developers have used {Binding ElementName= myControl , Path = myProperty} in their WPF projects, however you may find it didn’t work for you in ...2010-05-28T09:31:00Z2010-05-28T09:31:00Zidiorhttps://www.cnblogs.com/idior/【摘要】Most developers have used {Binding ElementName= myControl , Path = myProperty} in their WPF projects, however you may find it didn’t work for you in ... <a href="https://www.cnblogs.com/idior/archive/2010/05/28/1746513.html" target="_blank">阅读全文</a>https://www.cnblogs.com/idior/archive/2007/11/25/971279.htmlInside WCF Runtime - idiorWCF成功的一个重要原因在于它简单易用的编程模型。用户不用关心分布式应用的底层细节,仅仅通过定义一些ABC再设置一些特性(Attribute)就可以很方便的完成服务的开发与发布。但是当你在为你的服务类或方法添加一些诸如OperationContractAttribute与SeriveBehaviorAttribute等特性的时候,你有没有想过WCF框架最终是如何处理他们的?为什么仅仅通过一些特性的...2007-11-25T14:09:00Z2007-11-25T14:09:00Zidiorhttps://www.cnblogs.com/idior/【摘要】WCF成功的一个重要原因在于它简单易用的编程模型。用户不用关心分布式应用的底层细节,仅仅通过定义一些ABC再设置一些特性(Attribute)就可以很方便的完成服务的开发与发布。但是当你在为你的服务类或方法添加一些诸如OperationContractAttribute与SeriveBehaviorAttribute等特性的时候,你有没有想过WCF框架最终是如何处理他们的?为什么仅仅通过一些特性的... <a href="https://www.cnblogs.com/idior/archive/2007/11/25/971279.html" target="_blank">阅读全文</a>https://www.cnblogs.com/idior/archive/2007/09/22/902694.html有谁准备参加10月份的MVP聚会? - idior如题,到时联系一下吧。2007-09-22T10:40:00Z2007-09-22T10:40:00Zidiorhttps://www.cnblogs.com/idior/【摘要】如题,到时联系一下吧。 <a href="https://www.cnblogs.com/idior/archive/2007/09/22/902694.html" target="_blank">阅读全文</a>https://www.cnblogs.com/idior/archive/2007/09/07/885562.htmlMVP聚会 - idior明天在上海的MVP聚会,不知道园子里有多少朋友会去?有机会大家见个面吧,请准备参加的朋友留个联系方式,如邮件,blog地址。2007-09-07T04:23:00Z2007-09-07T04:23:00Zidiorhttps://www.cnblogs.com/idior/【摘要】明天在上海的MVP聚会,不知道园子里有多少朋友会去?有机会大家见个面吧,请准备参加的朋友留个联系方式,如邮件,blog地址。 <a href="https://www.cnblogs.com/idior/archive/2007/09/07/885562.html" target="_blank">阅读全文</a>https://www.cnblogs.com/idior/archive/2007/08/28/864595.htmlPractical .NET2 and C#2 翻译样章 - idiorPractical .Net2 and C#2: Harness the Platform, the Language, the Framework (Paperback) by Patrick Smacchia (34 customer reviews) Translated by Shi fan, Xu ning,Tan yinghua,Li yonglun Most Helpful Cus...2007-08-28T01:47:00Z2007-08-28T01:47:00Zidiorhttps://www.cnblogs.com/idior/【摘要】Practical .Net2 and C#2: Harness the Platform, the Language, the Framework (Paperback) by Patrick Smacchia (34 customer reviews) Translated by Shi fan, Xu ning,Tan yinghua,Li yonglun Most Helpful Cus... <a href="https://www.cnblogs.com/idior/archive/2007/08/28/864595.html" target="_blank">阅读全文</a>https://www.cnblogs.com/idior/archive/2007/07/06/808967.htmlBe evil or not? - idior今天看了IT界的悲哀--做互联网,就要跳出互联网回想起以前的一些感受,忍不住到首页上抱怨一把。为什么在国内,能够赚钱的点子大多是些作恶的电子呢?恶心的脑白金,害人的网游,垃圾的3721,骗人的科研项目。天哪,为什么随便能想到的一些国内比较赚钱的项目大多是作恶的呢?我承认那些人很有商业头脑,很牛,不过除了比较羡慕他们赚到的money之外,我对这些人是坚决鄙视的。你赚钱无可后非,为啥总是靠这些恶心的事...2007-07-06T11:38:00Z2007-07-06T11:38:00Zidiorhttps://www.cnblogs.com/idior/【摘要】今天看了IT界的悲哀--做互联网,就要跳出互联网回想起以前的一些感受,忍不住到首页上抱怨一把。为什么在国内,能够赚钱的点子大多是些作恶的电子呢?恶心的脑白金,害人的网游,垃圾的3721,骗人的科研项目。天哪,为什么随便能想到的一些国内比较赚钱的项目大多是作恶的呢?我承认那些人很有商业头脑,很牛,不过除了比较羡慕他们赚到的money之外,我对这些人是坚决鄙视的。你赚钱无可后非,为啥总是靠这些恶心的事... <a href="https://www.cnblogs.com/idior/archive/2007/07/06/808967.html" target="_blank">阅读全文</a>