XML documentation for your LightSpeed models
Tagged as LightSpeedIf you write your LightSpeed entities by hand, it’s easy to write XML documentation, so that users of your classes get helpful tooltips on the properties, methods and parameters. In LightSpeed 3, you can now create XML documentation in the designer.
To show or edit the XML documentation, just right-click anywhere in your model and choose Documentation. LightSpeed displays a Documentation window:
The Documentation window allows you to conveniently edit common documentation elements such as the Summary and Remarks. If you want to add less common documentation tags, such as <exception> or <example> elements, you can do so via the Additional box, but in this case you have to include the XML tags themselves:
As you move around the model, the Documentation window tracks the current selection, just like the Properties window does.
XML documentation isn’t yet available for all model elements, but it’s there for the most common ones: entities, entity properties, associations and stored procedures. If you’ve got a requirement for documentation on something that doesn’t support it yet, drop us a note in the forums and we’ll get it sorted for you.
Want to take it for a spin? Download the free Express edition today!
One Response to “XML documentation for your LightSpeed models”
Leave a Reply
Categories
BrainDump (1)
Community Code (4)
Events (16)
F# (14)
General (53)
Lab Samples (2)
LightSpeed (268)
MegaPack (8)
News (71)
NHibernate Designer (26)
Nightly news (53)
Phone Elements (24)
Products (87)
Projects (5)
Screencast (6)
SharePoint (3)
Silverlight (14)
Silverlight Elements (66)
SimpleDB Management Tools (20)
Visual Studio (9)
VS File Explorer (7)
Web Workbench (39)
WPF (44)
WPF Diagrams (57)
WPF Elements (110)
WPF Property Grid (32)





Posted by Ivan Towlson on 16 December 2009 



Didn’t even know about that. Thanks for the tip. I find I comment code less than ever these days. For an API, though, this is invaluable.