1 / 8

Visual studio 05 Class designer

Aka “Whitehorse”. Visual studio 05 Class designer. Visual Representation of Types Symmetrically Linked to Solution Designer code view Changes in diagram immediately reflected in code view and vice-versa

nyoko
Télécharger la présentation

Visual studio 05 Class designer

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Aka “Whitehorse” Visual studio 05 Class designer

  2. Visual Representation of Types • Symmetrically Linked to Solution Designer code view • Changes in diagram immediately reflected in code view and vice-versa • Toolbox has type shapes -> drag onto design surface ; also has inheritance connectors, etc. • Allows review and refactoring of code visually Class designer features

  3. Diagrams can be used for documentation -> can be saved in image format ->can link embedded image in say word document to image link, if diagram updated, embedded image will be updated. With powertoys can be saved as html • Extensible -> Class diagram is saved as xml (context open *.cd as xml), you can manipulate it as you wish Features cont’d

  4. Does not directly show webform code-behind class or winform code view. • This may be added in Orcas • Main use is for business class design Limitations

  5. Class designer Powertoys on GotDotNet (caution, GotDotNet going away, replacement not announced ;-( ) • Adds Pan/Zoom ->bottom right diag plus cross • Export to Html • Add comments on class shape -> highlight type and add text in box • Adds dongles for inheritance lines • Adds smart tag (green arrow box) for editing properties in place on diagram powertoys

  6. GotDotNetPowertoys: http://tinyurl.com/lwqrv • Main Msdn Webcast: http://tinyurl.com/24eljc • Channel 9 Three Part Series: • Part 1: http://tinyurl.com/2b9pts • Part 2: http://tinyurl.com/22tjz2 • Part 3: http://tinyurl.com/2bxmx5 • Class Designer Team WebLog/blog and xml format for class designer: http://tinyurl.com/2fls42 references

  7. Open Existing Solution ->Beerhouse – Add new item – Class Diagram • Drag class library source code from solution explorer to Class Diagram Design surface • Class Details Pane below • Toolbox Can create new types on design by dragging onto design surface • Context Menu on shapes -> Look and use functionality • Add constructor from context menu • Refactoring – Change namespace change class name • Orfan a class by changing its namespace in code and look at diagram and fix it from diagram Demo

  8. Play with tool bar, show full signatures, etc. • Show inheritance from base class types including System.Object • Start New Class diagram from scratch add types and inheritance • Abstract class with virtual methods • Class Details Pane below demo

More Related