Class WebPath
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Routing
Assembly: Umbraco.Core.dll
Syntax
public class WebPath
Fields
View SourcePathSeparator
Declaration
public const char PathSeparator = '/'
Field Value
Type | Description |
---|---|
System.Char |
Methods
View SourceCombine(String[])
Declaration
public static string Combine(params string[] paths)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | paths |
Returns
Type | Description |
---|---|
System.String |
IsWellFormedWebPath(String, UriKind)
Determines whether the provided web path is well-formed according to the specified UriKind.
Declaration
public static bool IsWellFormedWebPath(string webPath, UriKind uriKind)
Parameters
Type | Name | Description |
---|---|---|
System.String | webPath | The web path to check. This can be null. |
UriKind | uriKind | The kind of Uri (Absolute, Relative, or RelativeOrAbsolute). |
Returns
Type | Description |
---|---|
System.Boolean | true if |