12 2007 档案
摘要:今天看communicaty 的代码的时候发现了下面这段代码。似乎有点味道。 public T GetDataItem() where T : class { if (this.Weblog is T) return this.Weblog as T; else retu...
阅读全文
摘要:自从理解了try catch机制后就有意无意的注意一下优秀的开源软件是如何处理异常捕获和返回值的问题的 下面这段是community server 上的一段代码。 想研究一下他的异常处理机制 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/...
阅读全文
浙公网安备 33010602011771号