RelativeUrlContextManager Class
- Namespace
- Kampute.DocToolkit.Routing
- Assembly
- Kampute.DocToolkit.dll
Definition
Manages URL contexts that resolve documentation-root-relative URLs relative to the current document.
public sealed class RelativeUrlContextManager : DocumentUrlContextManager- Inheritance
- object
- DocumentUrlContextManager
- RelativeUrlContextManager
Remarks
Thread Safety
All public members of the type are guaranteed to be thread-safe.
Constructors
| RelativeUrlContextManager() | Initializes a new instance of the RelativeUrlContextManager class. |
Methods
| CreateScope(string, IDocumentModel) | Creates a new scope for the specified directory path and document model. |

For example, if a document at
api/namespace/class.htmlreferences another document atapi/other-namespace/interface.html, the managed context produces../other-namespace/interface.html. In this case, the documentation root URL relative to the current document is../../.