C# Класс Thinktecture.Tools.Web.Services.Wscf.Environment.IOPathHelper

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

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

Метод Описание
GetAbsolutePath ( string relativePath, string currentFolder, string rootFolder ) : string

Gets the absolute path of a given file with relative path.

GetRelativePath ( string relativePathOf, string relativeTo ) : string

Retrieves the relative path of a given file relative to a given directory.

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

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

Gets the absolute path of a given file with relative path.
public static GetAbsolutePath ( string relativePath, string currentFolder, string rootFolder ) : string
relativePath string Relative path of the file to fine the absolute path.
currentFolder string Path of the current directory.
rootFolder string Path of the root directory.
Результат string

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

Retrieves the relative path of a given file relative to a given directory.
public static GetRelativePath ( string relativePathOf, string relativeTo ) : string
relativePathOf string Absolute path of the file to find the relative path of.
relativeTo string Path of the directory which the result must be relative to.
Результат string