views:

98

answers:

2

Is there a way to generate XML documentation for private members? Be default it only generates it for public members, which is correct for published code but not for code only used within a company.

A: 

My advise is to write the xml documentation together with code. It doesn't take much time and also I have found that this approach helps me organize my code structure better.

Rumen Georgiev
Right: tool generated XML documentation is almost never useful. Or do you think a method Add(Product p) with an XML documentation comment of "Adds the product" (and <param name="p">Product to add</param>) is worth its bytes...?
peSHIr
(Ehh... the documentation comments, not the method itself. Duh!)
peSHIr
For someone who has no idea of the method the stupid comment will make it obvious there is nothing special ;). But your point is right, sometimes comments are just waste of time and bytes.
Rumen Georgiev
+2  A: 

Try using GhostDoc.

freshr