Table of Contents

Class WorkspacePaths

Namespace
RDCore.SDK.Workspace
Assembly
RDCore.SDK.dll

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

StringComparer

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

StringComparison

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

relativePath string

A path as a project lists it.

Returns

bool

Normalized(string)

A path as a full path with no separator at its end.

public static string Normalized(string path)

Parameters

path string

A path.

Returns

string

Same(string, string)

Whether two paths are the same file or folder.

public static bool Same(string left, string right)

Parameters

left string

A path.

right string

Another path.

Returns

bool