DocumentationContextBuilder<TContext>.CreateAddressProvider Method
- Namespace
- Kampute.DocToolkit
- Assembly
- Kampute.DocToolkit.dll
Definition
Creates the document address provider based on the configured settings.
protected virtual IDocumentAddressProvider CreateAddressProvider(IEnumerable<IAssembly> assemblies)Parameters
assembliesIEnumerable<IAssembly>- The assemblies to be documented.
Returns
- IDocumentAddressProvider
- An instance of IDocumentAddressProvider representing the document address provider.
Exceptions
- ArgumentNullException
- Thrown when
assembliesisnull. - InvalidOperationException
- Thrown when the addressing strategy is not configured.

If no reference to MicrosoftDocs is provided, it will add it by default to ensure that .NET API documentation links can be resolved.