Table of Contents

Class PathConvert

Namespace
Bonsai.Design
Assembly
Bonsai.Design.dll

Provides static methods for converting project paths.

public static class PathConvert
Inheritance
PathConvert
Inherited Members

Methods

GetProjectPath(string)

Converts an absolute path into a relative path, if the absolute path is relative to the project path.

public static string GetProjectPath(string path)

Parameters

path string

The path to convert.

Returns

string

The project relative path, if the path is absolute but located in any subdirectory of the project path.