C# 클래스 Emul8.Bootstrap.PathHelper

파일 보기 프로젝트 열기: emul8/emul8 1 사용 예제들

공개 메소드들

메소드 설명
AreSame ( string patha, string pathb ) : bool

Checks if two paths are the same assuming they are relative to working directory calculated in constructor.

GetRelativePath ( string filespec ) : string

Calculates path relative to working directory calculated in constructor.

PathHelper ( IEnumerable workingDirs ) : System

Initializes a new instance of the AntBootstrap.PathHelper class. It calculates common prefix path of all directories provided as an argument.

메소드 상세

AreSame() 공개 메소드

Checks if two paths are the same assuming they are relative to working directory calculated in constructor.
public AreSame ( string patha, string pathb ) : bool
patha string
pathb string
리턴 bool

GetRelativePath() 공개 메소드

Calculates path relative to working directory calculated in constructor.
public GetRelativePath ( string filespec ) : string
filespec string
리턴 string

PathHelper() 공개 메소드

Initializes a new instance of the AntBootstrap.PathHelper class. It calculates common prefix path of all directories provided as an argument.
public PathHelper ( IEnumerable workingDirs ) : System
workingDirs IEnumerable
리턴 System