View Source
Class UriUtilityCore
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public static class UriUtilityCore
Methods
View Source
EndPathWithSlash(String)
Declaration
public static string EndPathWithSlash(string uri)
Parameters
Type |
Name |
Description |
System.String |
uri |
|
Returns
Type |
Description |
System.String |
|
View Source
HasScheme(String)
Declaration
public static bool HasScheme(string uri)
Parameters
Type |
Name |
Description |
System.String |
uri |
|
Returns
Type |
Description |
System.Boolean |
|
View Source
StartWithScheme(String)
Declaration
public static string StartWithScheme(string uri)
Parameters
Type |
Name |
Description |
System.String |
uri |
|
Returns
Type |
Description |
System.String |
|
View Source
StartWithScheme(String, String)
Declaration
public static string StartWithScheme(string uri, string scheme)
Parameters
Type |
Name |
Description |
System.String |
uri |
|
System.String |
scheme |
|
Returns
Type |
Description |
System.String |
|
View Source
TrimPathEndSlash(String)
Declaration
public static string TrimPathEndSlash(string uri)
Parameters
Type |
Name |
Description |
System.String |
uri |
|
Returns
Type |
Description |
System.String |
|