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

baseUrl Uri
The base URL to use for creating absolute URLs from relative URLs.

Exceptions

ArgumentNullException
Thrown when baseUrl is null.
ArgumentException
Thrown when baseUrl is 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

baseUrlString string
The base URL to use for creating absolute URLs from relative URLs.

Exceptions

ArgumentNullException
Thrown when baseUrlString is null.
ArgumentException
Thrown when baseUrlString is not an absolute URL.