AbsoluteUrlContextManager Class
- Namespace
- Kampute.DocToolkit.Routing
- Assembly
- Kampute.DocToolkit.dll
Definition
Converts documentation-root-relative URLs to absolute URLs using a fixed documentation root URL.
public sealed class AbsoluteUrlContextManager : DocumentUrlContextManager- Inheritance
- object
- DocumentUrlContextManager
- AbsoluteUrlContextManager
Remarks
This class provides a simple implementation of the URL adjustment infrastructure that converts documentation-root-relative URLs to absolute URLs by combining them with a configurable documentation root URL.
Thread Safety
All public members of the type are guaranteed to be thread-safe.
Constructors
| AbsoluteUrlContextManager(Uri) | Initializes a new instance of the AbsoluteUrlContextManager class with the specified base URL. |
| AbsoluteUrlContextManager(string) | Initializes a new instance of the AbsoluteUrlContextManager class with the specified base URL string. |
Properties
| BaseUrl | Gets the base URL used to create absolute URLs from relative URLs. |
Methods
| CreateScope(string, IDocumentModel) | Creates a new scope for the specified directory path and document model. |
