<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_Ling Xu 的 .NET 技术随笔</title><subtitle type="text"/><id>http://feed.cnblogs.com/blog/u/24086/rss</id><updated>2009-08-31T07:25:06Z</updated><author><name>Ling Xu</name><uri>http://www.cnblogs.com/xlshcn/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/xlshcn/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/24086/rss"/><entry><id>http://www.cnblogs.com/xlshcn/archive/2009/04/06/objectdump.html</id><title type="text">调试用对象输出</title><summary type="text">编写程序跟踪输出时，有时候需要输出某个对象所有字段和属性的值，类似于Watch。如果只有一个两个类的对象，事情并不麻烦，但是如果有很多类的对象，那么单独写就很费时。鉴于此，我写了一个通用的对象转储输出类，用于针对绝大多数对象进行转储为字符串形式。</summary><published>2009-04-06T15:31:00Z</published><updated>2009-04-06T15:31:00Z</updated><author><name>Ling Xu</name><uri>http://www.cnblogs.com/xlshcn/</uri></author><link rel="alternate" href="http://www.cnblogs.com/xlshcn/archive/2009/04/06/objectdump.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/xlshcn/archive/2009/04/06/objectdump.html"/></entry><entry><id>http://www.cnblogs.com/xlshcn/archive/2007/11/21/runtimecodegen.html</id><title type="text">.NET 环境下运行时代码生成和编译</title><summary type="text">CLR自带了各种语言的编译器，例如C#、VB等。通过这些编译器以及反射，可以实现以前在其它环境中做不到的事情：运行时代码生成和编译。 作为一个应用，我们以对象工厂作为示例。对象工厂是通过一些标识符，在运行时生成不同对象的一种设计模式，通常的代码形式为： publicclassObjectFactory{publicstaticobjectCreateInstance(stringid){switc...</summary><published>2007-11-21T08:38:00Z</published><updated>2007-11-21T08:38:00Z</updated><author><name>Ling Xu</name><uri>http://www.cnblogs.com/xlshcn/</uri></author><link rel="alternate" href="http://www.cnblogs.com/xlshcn/archive/2007/11/21/runtimecodegen.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/xlshcn/archive/2007/11/21/runtimecodegen.html"/></entry><entry><id>http://www.cnblogs.com/xlshcn/archive/2007/11/21/clrmemory.html</id><title type="text"> 查找CLR对象内存所属关系</title><summary type="text">在.NET环境下，所有的对象都是通过CLR进行管理，并且由垃圾收集系统来负责回收。我们可以想象得到的是，CLR应当会以某种形式来管理这些对象，并且这些对象与对象之间具有一定的联系。有一些工具，例如 .NET Memory Profiler等，可以显示出这些关系，但是，可惜的是，这些工具不是免费的。实际上，Visual Studio .NET本身已经具有这样的功能，只是没有在文档中介绍，并且比上述的...</summary><published>2007-11-21T08:22:00Z</published><updated>2007-11-21T08:22:00Z</updated><author><name>Ling Xu</name><uri>http://www.cnblogs.com/xlshcn/</uri></author><link rel="alternate" href="http://www.cnblogs.com/xlshcn/archive/2007/11/21/clrmemory.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/xlshcn/archive/2007/11/21/clrmemory.html"/></entry><entry><id>http://www.cnblogs.com/xlshcn/archive/2007/01/16/idisposable.html</id><title type="text">正确实现 IDisposable 接口</title><summary type="text">在.NET中IDisposable接口用于释放资源，但是同时还有Finalize、Close、析构函数等，本文介绍了如何正确实现这些函数。</summary><published>2007-01-16T04:44:00Z</published><updated>2007-01-16T04:44:00Z</updated><author><name>Ling Xu</name><uri>http://www.cnblogs.com/xlshcn/</uri></author><link rel="alternate" href="http://www.cnblogs.com/xlshcn/archive/2007/01/16/idisposable.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/xlshcn/archive/2007/01/16/idisposable.html"/></entry><entry><id>http://www.cnblogs.com/xlshcn/archive/2007/01/13/ironpython.html</id><title type="text">IronPython 1.0发布</title><summary type="text">IronPython 1.0发布</summary><published>2007-01-13T15:57:00Z</published><updated>2007-01-13T15:57:00Z</updated><author><name>Ling Xu</name><uri>http://www.cnblogs.com/xlshcn/</uri></author><link rel="alternate" href="http://www.cnblogs.com/xlshcn/archive/2007/01/13/ironpython.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/xlshcn/archive/2007/01/13/ironpython.html"/></entry></feed>
