Is it possible to draw “uses” type relationship between types and methods in Visual Studio 2010's class designer?

StackOverflow https://stackoverflow.com/questions/5384451

I want to draw connections between types and methods showing the using relationship between them, i.e:

GlobalExecutor -> (uses) -> EndEffect -> (uses) -> RealTimeEffect

... in a tree-like manner.

有帮助吗?

解决方案

The Visual Studio Class Designer is not meant to create complete UML Class Diagrams. It's meant to design classes.

No part of the text of a class changes because of "uses" connections, so that functionality is not present in the Class Designer.

The Ultimate Edition of Visual Studio 2010 (and maybe other editions) has a new UML Modeling feature, including UML Class Models. This feature allows you to create Dependency connections between classes.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top