可以从我的Visual Studio项目环境中生成类图吗?

huangapple go评论75阅读模式
英文:

Is it possible to generate a class diagram from my Visual Studio project environment?

问题

我有一个Visual Studio 2019项目,计划通过新的编程语言、新的微服务架构和新的数据库管理器来更新它。
我将项目保存为Visual Studio 2019解决方案,我在思考,是否可以使用Visual Studio自动生成我的项目的类图?因为我只有这个项目作为文档和参考框架,我能否通过代码自动生成类图?是否可以通过代码了解业务规则?

英文:

Actually i have a Visual Studio 2019 project that which are going to updated trought of a new programing languaje, a new microservice architechture and a new data base manager.
i have the project like Visual Studio 2019 solution and i asked to me, if is possible with Visual Studio generate the class diagram of my project automatically??? because i only have this project such a documentation and reference frame, with the code i can generate automatically the class diagram? is possible know the bussines rules trought the code?

答案1

得分: 1

请按照以下步骤操作:

  1. 启动 Visual Studio Installer,点击 "单个组件","代码工具",并勾选 "类设计器"。

  2. 右键点击要查看的项目,选择 "查看","查看类图",或右键点击项目,选择 "添加","新建项目项",并创建一个新的类图。

  3. 最后,将项目拖入类图中以生成类图。

英文:

Please follow the steps below:

  1. Start Visual Studio Installer, click "Single Component", "Code Tools", and check "Class Designer".

  2. Right-click the project to be viewed, select "View", "View Class Diagram" or right-click the project, select Add, New Item, and create a new class diagram.

  3. Finally, drag the project into the class diagram to generate the class diagram.

huangapple
  • 本文由 发表于 2023年7月18日 06:00:06
  • 转载请务必保留本文链接:https://go.coder-hub.com/76708343.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定