DocumentationComposer.GenerateDocumentationForClass Method
- Namespace
- Kampute.DocToolkit
- Assembly
- Kampute.DocToolkit.dll
Definition
Generates documentation pages for the specified class type and its members.
protected virtual void GenerateDocumentationForClass(IDocumentWriterFactory writerFactory, ClassModel classType, PageGranularity granularity)Parameters
writerFactoryIDocumentWriterFactory- The factory for creating rendering contexts.
classTypeClassModel- The class type to document.
granularityPageGranularity- The page granularity that defines how the class and its members are organized in the documentation.
Exceptions
- ArgumentNullException
- Thrown when
writerFactoryorclassTypeisnull.

- If the
- If the
The method also recursively processes any nested types declared within the class.granularityincludes PageGranularity.Type, a dedicated page is created for the class.granularityincludes PageGranularity.Member, separate documentation pages are generated for each member of the class. Otherwise, all member documentation is included on the class page.