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
assemblyPathstring- The path to the assembly file.
Returns
- DocumentationContextBuilder<TContext>
- The current builder instance for method chaining.
Exceptions
- ArgumentException
- Thrown when
assemblyPathisnullor empty. - FileNotFoundException
- Thrown when the assembly file cannot be found.
