C# 클래스 Thinktecture.Tools.Web.Services.Wscf.Environment.IOPathHelper

파일 보기 프로젝트 열기: WSCF/WSCF

공개 메소드들

메소드 설명
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