RelativeUrl(string, string) Constructor
Creates an instance of RelativeUrl using the given url string.
Namespace
Statiq.Common
Containing Type
RelativeUrl

Syntax

public RelativeUrl(string url, string root = "")

Parameters

Name Type Description
url string The URL string.
root string The root to use if the URL starts with ~/.