AbsoluteUrlContextManager Constructors
- Namespace
- Kampute.DocToolkit.Routing
- Assembly
- Kampute.DocToolkit.dll
| 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. |
AbsoluteUrlContextManager(Uri)
Initializes a new instance of the AbsoluteUrlContextManager class with the specified base URL.
public AbsoluteUrlContextManager(Uri baseUrl)Parameters
baseUrlUri- The base URL to use for creating absolute URLs from relative URLs.
Exceptions
- ArgumentNullException
- Thrown when
baseUrlisnull. - ArgumentException
- Thrown when
baseUrlis not an absolute URL.
AbsoluteUrlContextManager(string)
Initializes a new instance of the AbsoluteUrlContextManager class with the specified base URL string.
public AbsoluteUrlContextManager(string baseUrlString)Parameters
baseUrlStringstring- The base URL to use for creating absolute URLs from relative URLs.
Exceptions
- ArgumentNullException
- Thrown when
baseUrlStringisnull. - ArgumentException
- Thrown when
baseUrlStringis not an absolute URL.
