DocumentationContextBuilder<TContext>.AddAssembly Method

Namespace
Kampute.DocToolkit
Assembly
  • Kampute.DocToolkit.dll

Definition

Adds an assembly file to the documentation if it has not been added before.
public virtual DocumentationContextBuilder<TContext> AddAssembly(string assemblyPath)

Parameters

assemblyPath string
The path to the assembly file.

Returns

DocumentationContextBuilder<TContext>
The current builder instance for method chaining.

Exceptions

ArgumentException
Thrown when assemblyPath is null or empty.
FileNotFoundException
Thrown when the assembly file cannot be found.