Getting started
Exporting
- Export quick start
- Examples
- Help compilers
- What are LDEC files
- Customising the export
- Creating your own LDEC files
API
Documentation
The Documentation class provides access to methods which allow you to load and obtain information and documentation from a documentation file.
Inheritance
ObjectDocumentation
Namespace: TheBoxSoftware.API.LiveDocumenterAssembly: TheBoxSoftware.API.LiveDocumenter in (TheBoxSoftware.API.LiveDocumenter.dll)
Syntax
C#
public sealed class Documentation
Examples
Documentation can be instantiated simply by passing in a Visual Studio solution file, project or .NET library. Further you can create Live Documenter project files and load those for a more flexability.
You will need to call Load() to load the documentation in to memory.
using TheBoxSoftware.API.LiveDocumenter
{
void Main()
{
Documentation fromSolution = new Documentation("c:\\Build\Output\VsSolution.sln");
fromSolution.Load();
Documentation fromLdProj = new Documentation("c:\\projectoutput.ldproj");
fromLdProj.Load();
}
}
Remarks
A Documentation instance is an accessor to the documentation file, it enables you to access information such as the table of contents for the documentation or documentation for a single type/member.
A documentation file is a .NET managed code DLL, Visual Studio Solution/Project or a Live Documenter project file (.ldec).
All returned results are provided in XML format, the specification for this format can be found .
Constructors
Initialises an instance of the Documentation class.
Methods
Retrieves the XmlDocument for the provided key.
Retrieves the XmlDocument for the provided crefPath.
Retrieves the XmlDocument for the provided entry.
Obtains the details of the Entries for the currently loaded documentation.
Initialises the state of the documentation class and prepares it so Documentation can be accessed.