I am trying to comment an API (.Net) that I am exposing to a customer. I am doing this by using XML comments, and extracting via SandCastle.
This is all fine and dandy, however I have unittesting for the API, and thought the code from these would be good to place in the example tags.
So does anyone know of a good way to extract unit test code and place in the example tags? Or does anyone have better ideas?
Of course I redistribute the unit tests with the API, but it would be good to have them in the documentation.