如何获得内置的.net类的漂亮的类图? [英] How to get a nice class diagram for built-in .net classes?

查看:121
本文介绍了如何获得内置的.net类的漂亮的类图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

要获取 CodeDom类的概述在.Net中,我尝试使用Visual Studio 2010内置类设计器创建类图表,但我没有找到将.Net内置类和类型输入其中的方法,我唯一能得到的就是从类视图"窗口添加我自己的类.

To get an overview for the CodeDom classes in .Net I tried to create a class diagramm using Visual Studio 2010 built-in class designer, but I did not find the way how I could feed the .Net built-in classes and types into it, the only I can get is to add my own classes from Class View window.

我还在VS2010中使用UML图表进行了尝试,但无法导入这些类.我一直在MS Visio中寻找类似的选项,尽管它确实提供了对类图的支持,但我无法在其中生成任何东西.

I also tried it with UML diagramms in VS2010, and I couldn't import the classes. I was looking for a similar option in MS Visio and though it does provide support for class diagramm I could not generate something there.

我在CodeProject网页上找到了 AutoDiagrammer项目,并尝试将其用作 Reflector 加载项,但也没有成功.我在外接程序窗口的顶部仅收到等待装配"消息,什么也没发生.

I found the AutoDiagrammer project on CodeProject webpage and tried to use it as a Reflector Add-In, but with no succcess either. I get only the message "Waiting for assembly" in the top of the add-in window and nothing happends.

推荐答案

我能够通过以下方式为整个命名空间生成一个类图:

I was able to generate a class diagram for the entire namespace by:

  1. 创建一个新的空白类图
  2. 打开View-> Object Explorer
  3. 输入密码"并搜索
  4. 将System.CodeDom命名空间拖放到空白图中

我希望这就是你的意思.

I hope this is what you meant.

这篇关于如何获得内置的.net类的漂亮的类图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆