开发者

Possible to do UML Diagrams in Visual C# and then have code generated from it?

I'm using Visual Studio 2010 RC. Would it be possible that after doing my UML Diagrams, I could then generat开发者_StackOverflowe classes with method stubs from it?

Thanks


Microsoft has stated that they intend to extend VS Architect edition to include code generation through the use of plugins but it is not available at this point.
http://social.msdn.microsoft.com/Forums/en-US/vsarch/thread/62eea855-af4a-4821-9843-3ef2377aebc2

Heres an article adding code generation to VS 2010 yourself:
http://www.olegsych.com/2010/01/uml-modeling-and-code-generation-in-visual-studio-2010/

Theres a plug in for VS here:
http://www.visual-paradigm.com/product/sde/vs/

Here are some standalone tools:
http://www.altova.com/umodel/uml-code-generation.html
http://www.tangiblearchitect.net/visual-studio/


Have you found the built-in class designer? Its pretty much UML compliant, and very easy to use.

Quick Start: Add a class, use View|Class View, richt-click the class and "Show in Diagram"

But no other diagram types.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜