Class WorkspacePaths
How the paths of a workspace are compared and read: the one place that says so, for the folders of a workspace, the projects that list files, and the documents that are loaded.
public static class WorkspacePaths
- Inheritance
-
WorkspacePaths
- Inherited Members
Properties
Comparer
The comparer of paths, as Comparison compares them.
public static StringComparer Comparer { get; }
Property Value
Comparison
How two paths are compared: without regard to case on Windows, where the file system has none.
public static StringComparison Comparison { get; }
Property Value
Methods
Climbs(string)
Whether a path climbs out of the folder it is relative to: it has a .. in it, written with either separator (..\Shared\Util.bas).
public static bool Climbs(string relativePath)
Parameters
relativePathstringA path as a project lists it.
Returns
Normalized(string)
A path as a full path with no separator at its end.
public static string Normalized(string path)
Parameters
pathstringA path.
Returns
Same(string, string)
Whether two paths are the same file or folder.
public static bool Same(string left, string right)