Definition
Assembly: CloudNimble.DotNetDocs.Core.dll Namespace: CloudNimble.DotNetDocs.CoreSyntax
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
Remarks
This constructor is designed to work with dependency injection containers. All parameters accept IEnumerable collections that are typically injected by the DI container..ctor Inherited
Inherited from
objectSyntax
Methods
CreateConceptualFilesAsync
Creates placeholder conceptual documentation files for a single assembly.Syntax
Parameters
Returns
Type:System.Threading.Tasks.Task
A task representing the asynchronous operation.
CreateConceptualFilesAsync
Creates placeholder conceptual documentation files for multiple assemblies.Syntax
Parameters
Returns
Type:System.Threading.Tasks.Task
A task representing the asynchronous operation.
Exceptions
Remarks
The assemblies are documented and merged the same way DocumentationManager.ProcessAsync does it, and then DocumentationManager.GeneratePlaceholdersAsync writes the placeholders. Nothing is rendered. This method always writes placeholders, regardless of ProjectContext.ConceptualDocsEnabled: that setting controls the full pipeline, and calling this method is an explicit request for placeholders. The documented models are cached, so a later call to DocumentationManager.ProcessAsync with the same assemblies doesn’t document them again.Dispose
Disposes of all cached AssemblyManager instances.Syntax
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
GeneratePlaceholdersAsync
Writes placeholder conceptual documentation files for every namespace and type in a documentation model.Syntax
Parameters
Returns
Type:System.Threading.Tasks.Task
A task representing the asynchronous operation.
Exceptions
Examples
Remarks
Each namespace folder gets summary, usage, examples, best practices, patterns, considerations, and related APIs files, and each type folder gets the same files except summary, at the locations ProjectContext.GetConceptualNamespacePath and ProjectContext.GetConceptualTypePath return. A file that already exists is never overwritten, so edited content is safe. After the built-in placeholders are written, each registered renderer’s IDocRenderer.RenderPlaceholdersAsync runs, one at a time, so a renderer can add files of its own.GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ProcessAsync
Processes a single assembly through the documentation pipeline.Syntax
Parameters
Returns
Type:System.Threading.Tasks.Task
A task representing the asynchronous processing operation.
ProcessAsync
Processes multiple assemblies through the documentation pipeline.Syntax
Parameters
Returns
Type:System.Threading.Tasks.Task
A task representing the asynchronous processing operation.
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?
Related APIs
- System.IDisposable