英文:
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
请按照以下步骤操作:
-
启动 Visual Studio Installer,点击 "单个组件","代码工具",并勾选 "类设计器"。
-
右键点击要查看的项目,选择 "查看","查看类图",或右键点击项目,选择 "添加","新建项目项",并创建一个新的类图。
-
最后,将项目拖入类图中以生成类图。
英文:
Please follow the steps below:
-
Start Visual Studio Installer, click "Single Component", "Code Tools", and check "Class Designer".
-
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.
-
Finally, drag the project into the class diagram to generate the class diagram.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论