C# Класс ParkitectNexus.Data.Utilities.PathUtility

Показать файл Открыть проект

Открытые методы

Метод Описание
ArePathsEqual ( string path1, string path2 ) : bool
MakeRelativePath ( string fromPath, string toPath ) : string

Creates a relative path from one file or folder to another.

NormalizePath ( string path ) : string

Описание методов

ArePathsEqual() публичный статический Метод

public static ArePathsEqual ( string path1, string path2 ) : bool
path1 string
path2 string
Результат bool

MakeRelativePath() публичный статический Метод

Creates a relative path from one file or folder to another.
public static MakeRelativePath ( string fromPath, string toPath ) : string
fromPath string Contains the directory that defines the start of the relative path.
toPath string Contains the path that defines the endpoint of the relative path.
Результат string

NormalizePath() публичный статический Метод

public static NormalizePath ( string path ) : string
path string
Результат string