This page provides a general overview of the CodeDoc API (application programming interface), which implements most of the core functionality of CodeDoc.exe. You can call the CodeDoc API from your applications, though for most purposes you'll likely find that using the CodeDoc.exe console application is sufficient.
For detailed API information, consult the CodeDoc API Reference.
The CodeDoc.exe console application is responsible for reading and interpreting CodeDoc XML project files. It then makes calls to the CodeDoc API (implemented by CodeDocApi.dll and CodeDocRenderer.dll), to perform most of the work of processing C# source code files. (Note that documentation browser generation is performed by CodeDoc.exe, not the CodeDoc API.)
The following diagram gives a general overview of the flow of data through CodeDoc, and
the key data types involved. (Tip: if you click on a hyperlink to an API reference topic, you
can click
in the left pane of the
documentation browser to locate the topic in the table of contents.)
The general pattern for using the CodeDoc API is as follows:
See App.cs source code for examples of how to use the CodeDoc API.