StrategyBasedApiDocUrlResolver Constructor
- Namespace
- Kampute.DocToolkit.Routing
- Assembly
- Kampute.DocToolkit.dll
Definition
Initializes a new instance of the StrategyBasedApiDocUrlResolver class.
public StrategyBasedApiDocUrlResolver(Uri url, IDocumentAddressingStrategy strategy)Parameters
urlUri- The base URL of the documentation site.
strategyIDocumentAddressingStrategy- The strategy for resolving URLs for documentation content.
Exceptions
- ArgumentNullException
- Thrown when
urlorstrategyisnull. - ArgumentException
- Thrown when
urlis not an absolute URI.
