Class PathUtility
Inheritance
object
Namespace: Umbraco.Cms.Core.Strings
Assembly: Umbraco.Core.dll
Syntax
public static class PathUtility
Methods
View SourceEnsurePathIsApplicationRootPrefixed(string)
Ensures that a path has ~/ as prefix
Declaration
public static string EnsurePathIsApplicationRootPrefixed(string path)
Parameters
| Type | Name | Description |
|---|---|---|
| string | path |
Returns
| Type | Description |
|---|---|
| string |