RelativeToAbsoluteUrlNormalizer.CreateScope Method

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

Definition

Creates a new scope for the specified directory path and document model.
protected override DocumentUrlContextManager.UrlContext CreateScope(string directory, IDocumentModel model)

Parameters

directory string
The relative directory path of the document being rendered within the documentation structure.
model IDocumentModel
The document model being processed, or null if not applicable.

Returns

DocumentUrlContextManager.UrlContext
A new T:Kampute.DocToolkit.Routing.RelativeToAbsoluteUrlNormalizer.AbsoluteUrlContext for the specified directory and model.