DocumentAddressProvider Constructor

Namespace
Kampute.DocToolkit.Routing
Assembly
  • Kampute.DocToolkit.dll

Definition

Initializes a new instance of the DocumentAddressProvider class with the specified addressing strategy.
public DocumentAddressProvider(IDocumentAddressingStrategy strategy, IEnumerable<IAssembly> assemblies, Uri baseUrl = null)

Parameters

strategy IDocumentAddressingStrategy
The strategy that determines how generated documentation pages should be addressed.
assemblies IEnumerable<IAssembly>
The assemblies being documented.
baseUrl Uri optional
The base URL of the documentation site, or null for relative URLs.

Exceptions

ArgumentNullException
Thrown when strategy or assemblies is null.
ArgumentException
Thrown when baseUrl is not null and is not an absolute URL.