argument list
-
2009년 9월 12일 토요일 오후 3:04Hi,
Using vs2008 and clicking on 'View class diagram' in C# project, this generate a nice class diagram. However, it does not show the argument list for each method or return value. Need this image to document a componet but without the argument list and return value I really cannot use it. Is this possible?
모든 응답
-
2009년 9월 14일 월요일 오전 11:34
Hi Lars,
Yes, the Class Diagram does not show the argument list for each method or return value.
Class Diagram describes the types of objects and the relationships among them. It used to be called "object model", it models the class structure and content.
I think the Sequence Diagram is what you are looking for.
The Sequence Diagram is new feature in Visual Studio 2010, it visualises interactions among classes in terms of messages exchanged for a period of time, and the lifetime of involved objects, excelling in showing which objects communicate with which objects and what messages are triggered as part of the communication.
Article: About the Sequence Diagrams and How to create it in Visual Studio 2010.
http://dotnet.org.za/willy/archive/2008/11/18/visual-studio-2010-ctp-2-a-close-encounter-with-sequence-diagram.aspx
Right-click code editor window, then select "Generate Sequence Diagram".

Check this thread for reference:
http://social.msdn.microsoft.com/Forums/en-US/vsclassdesigner/thread/6c6f5d78-cc46-4637-a659-83f7ad14be5f
Best regards,
Martin Xie
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.- 답변으로 표시됨 Martin Xie - MSFT 2009년 9월 18일 금요일 오전 6:00
-
2009년 9월 18일 금요일 오전 5:59
Hello Lars,
Does this help? If you have any further questions or concerns, please feel free to let me know.
-
2012년 1월 6일 금요일 오후 11:11
Hey Lars1346,
All you have to do is right click the background whitespace on your class diagram, go to "Change Members Format" MenuItem and choose "Display Full Signature"

