Definition
Assembly: CloudNimble.DotNetDocs.Core.dll Namespace: CloudNimble.DotNetDocs.Core Inheritance: System.ObjectSyntax
Summary
Orchestrates the documentation pipeline for one or more assemblies.Remarks
This class manages the complete documentation lifecycle including enrichment, transformation, and rendering. It handles AssemblyManager creation, usage, and disposal for processing assemblies.Constructors
.ctor
Initializes a new instance of the DocumentationManager class.Syntax
Parameters
Name | Type | Description |
---|---|---|
projectContext | CloudNimble.DotNetDocs.Core.ProjectContext | The project context containing configuration settings. |
enrichers | System.Collections.Generic.IEnumerable<CloudNimble.DotNetDocs.Core.IDocEnricher>? | The enrichers to apply to documentation entities. |
transformers | System.Collections.Generic.IEnumerable<CloudNimble.DotNetDocs.Core.IDocTransformer>? | The transformers to apply to the documentation model. |
renderers | System.Collections.Generic.IEnumerable<CloudNimble.DotNetDocs.Core.IDocRenderer>? | The renderers to generate output formats. |
Remarks
This constructor is designed to work with dependency injection containers. All parameters accept IEnumerable collections that are typically injected by the DI container.Methods
CreateConceptualFilesAsync
Creates placeholder conceptual documentation files for a single assembly.Syntax
Parameters
Name | Type | Description |
---|---|---|
assemblyPath | string | The path to the assembly file. |
xmlPath | string | The path to the XML documentation file. |
Returns
Type:System.Threading.Tasks.Task
A task representing the asynchronous operation.
CreateConceptualFilesAsync
Creates placeholder conceptual documentation files for multiple assemblies.Syntax
Parameters
Name | Type | Description |
---|---|---|
assemblies | System.Collections.Generic.IEnumerable<(string, string)> | The collection of assembly and XML path pairs. |
Returns
Type:System.Threading.Tasks.Task
A task representing the asynchronous operation.
Dispose
Disposes of all cached AssemblyManager instances.Syntax
ProcessAsync
Processes a single assembly through the documentation pipeline.Syntax
Parameters
Name | Type | Description |
---|---|---|
assemblyPath | string | The path to the assembly file. |
xmlPath | string | The path to the XML documentation file. |
Returns
Type:System.Threading.Tasks.Task
A task representing the asynchronous processing operation.
ProcessAsync
Processes multiple assemblies through the documentation pipeline.Syntax
Parameters
Name | Type | Description |
---|---|---|
assemblies | System.Collections.Generic.IEnumerable<(string, string)> | The collection of assembly and XML path pairs. |
Returns
Type:System.Threading.Tasks.Task
A task representing the asynchronous processing operation.
Related APIs
- System.IDisposable