Code Documentation

manmission

Newcomer
Joined
Sep 3, 2006
Messages
1
How do I extract the filename, its path, last modified file time as well as its name of the classes n method from a source code file. I need to extract it and then place it in a xml or html file format n display it as documentation.

Please reply

Thanks
 
Check out the System.IO.File class and the System.IO.Path class for the file name, path, and possibly last modified time.

If you are using a version control system, that would be a great way to get the actual last modified time.

Classes and methods can be taken from the XML file generated by the C# compiler in .Net 1.1/2.0 and VB compiler in 2.0. There is a tool to parse the info for VB .Net 1.1. There's a link on this forum somewhere to help with that.

Another option would be to check out the NDoc project.
 
Back
Top