逆向工程 C# 解决方案 [英] Reverse Engineering a C# Solution
问题描述
我知道 Visual Studio 2010 Ultimate 有一些能力,我通常会凭直觉做到这一点,但我的日程安排很紧.我也安装了 Visio 2010 并将其集成到 VS 中,但它的逆向工程功能似乎没有太大作用,必须在每个项目的基础上运行,这里的障碍是解决方案结构,每个解决方案文件夹都有几个解决方案文件夹多个项目.
我想要一些关于如何将 C# 解决方案逆向工程为依赖关系图、序列图和类图的建议.
如果使用 Visual Studio,2010 Ultimate 版支持 5 个常用的UML 图 (class、序列、用例 , activity 和 组件 ).您可以生成序列图和层图来自代码.如果您还安装了 Visualization &使用 VS 2010 Ultimate 建模功能包,您可以创建 UML 类图 从代码和从 UML 类图生成代码.>
您还可以使用架构浏览器探索现有代码和通过生成依赖关系图来可视化代码中的关系 ,然后您还可以使用它创建层图.
或者,您可以使用 Altova Usemodel 或 Sparx System 的企业架构师
I know Visual Studio 2010 Ultimate has some abilities, and I would normally do this by instinct, but I am on a very tight schedule. I also have Visio 2010 installed and integrated into VS, but its reverse engineer function doesn't seem to do much, and has to be run on a per project basis, and a hindrance here is the solution structure, with several solution folders each holding a multitude of projects.
I would like some advice on how to go about reverse engineering a C# solution into dependency diagrams, sequence diagrams and class diagrams.
If you use Visual Studio, the 2010 Ultimate edition supports 5 commonly-used UML diagrams (class , sequence , use case , activity , and component ). You can generate sequence diagrams and layer diagrams from code . If you also install the Visualization & Modeling Feature Pack with VS 2010 Ultimate, you can create UML class diagrams from code and generate code from UML class diagrams .
You can also explore existing code by using Architecture Explorer and visualize relationships in code by generating dependency graphs , which you can then also use to create layer diagrams.
As alternative, you can use Altova Usemodel or Sparx System's Enterprise Architect
这篇关于逆向工程 C# 解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!