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

directory string
The directory path of the document being rendered relative to the documentation root.
model IDocumentModel
The document model associated with the current context or null if not applicable.

Exceptions

ArgumentNullException
Thrown when directory is null.