Class PathUtility
Inheritance
System.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 |
|---|---|---|
| System.String | path |
Returns
| Type | Description |
|---|---|
| System.String |