C# Класс SpeakFriend.Utilities.PathUtil

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

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

Метод Описание
EnsureDirectoryExists ( this absolutePath ) : void

Ensures that all folders on the given path - file or dir (dir must end with /) - exist; if they don't they will be created.
Throws a SpeakLibException if the missing folders cannot be created.

GetRelativePath ( string path, string rootDirectory ) : string

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

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

Ensures that all folders on the given path - file or dir (dir must end with /) - exist; if they don't they will be created.
Throws a SpeakLibException if the missing folders cannot be created.
public static EnsureDirectoryExists ( this absolutePath ) : void
absolutePath this Absolute path of a file or directory (dir must end with /).
Результат void

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

public static GetRelativePath ( string path, string rootDirectory ) : string
path string
rootDirectory string
Результат string