DocumentUrlContext Constructor
- Namespace
- Kampute.DocToolkit.Routing
- Assembly
- Kampute.DocToolkit.dll
Definition
Initializes a new instance of the DocumentUrlContext class.
protected DocumentUrlContext(string directory, IDocumentModel model)Parameters
directorystring- The directory path of the document being rendered relative to the documentation root.
modelIDocumentModel- The document model associated with the current context or
nullif not applicable.
Exceptions
- ArgumentNullException
- Thrown when
directoryisnull.
