PathHelperΒΆ
-
class
PathHelper: System.Object -
char
DirectorySeparator The/universal/standard/directory/seperator.
-
public string
Normalize(string path) Returns a path string normalized to the/universal/standard.
Parameters: - path (string) –
-
public string
NormalizeDirectory(string path) Returns a directory path string normalized to the/universal/standard with a trailing seperator.
Parameters: - path (string) –
-
public string
NormalizeWindows(string path) Returns a path string normalized to theWindowsstandard.
Parameters: - path (string) –
-
public string
GetRelativePath(string basePath, string path) Returns a path relative to the base path.
Parameters: - basePath (string) – The path to make relative to. Must end with directory seperator.
- path (string) – The path to be made relative to the basePath.
Returns: The relative path or the original string if it is not absolute or cannot be made relative.
-
char