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
strategyIDocumentAddressingStrategy- The strategy that determines how generated documentation pages should be addressed.
assembliesIEnumerable<IAssembly>- The assemblies being documented.
baseUrlUri optional- The base URL of the documentation site, or
nullfor relative URLs.
Exceptions
- ArgumentNullException
- Thrown when
strategyorassembliesisnull. - ArgumentException
- Thrown when
baseUrlis notnulland is not an absolute URL.
