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

granularityincludes PageGranularity.Type, a dedicated page is created for the interface.granularityincludes PageGranularity.Member, separate documentation pages are generated for each member of the interface. Otherwise, all member documentation is included on the interface page.