Open GoogleCodeExporter opened 9 years ago
Good idea.
Difficult to implement, but not impossible.
Need to
1) access the xs:documentation element in the XSD object model
2) use the CodeDOM to modify the comment in the right place.
See the code modifier:
http://code.google.com/p/xsd-to-classes/source/browse/CodeGeneration/CodeModifie
rs/AddDocComments.cs for an example of how to add comments using the CodeDOM.
Do you want to be attached to the project?
Original comment by michael....@bluetoque.ca
on 9 Aug 2011 at 5:38
The real difficulty is correlating the doc comment with the CodeDOM object
model. By the time the CodeModifier is run, the XSD is closed and you can't
easily find the element that generated the piece of code.
Original comment by michael....@bluetoque.ca
on 9 Aug 2011 at 5:42
Original issue reported on code.google.com by
stef.hey...@gmail.com
on 5 Aug 2011 at 10:13