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