C# 클래스 ApprovalUtilities.Utilities.PathUtilities

파일 보기 프로젝트 열기: approvals/ApprovalTests.Net

공개 메소드들

메소드 설명
GetAdjacentFile ( string relativePath ) : string
GetDirectoryForCaller ( ) : string
GetDirectoryForCaller ( int callerStackDepth ) : string
GetDirectoryForStackFrame ( StackFrame stackFrame ) : string
LocateFileFromEnviormentPath ( string toFind ) : IEnumerable
ScrubPath ( this text, string path ) : string

비공개 메소드들

메소드 설명
FindProgramOnPath ( string programName ) : IEnumerable

메소드 상세

GetAdjacentFile() 공개 정적인 메소드

public static GetAdjacentFile ( string relativePath ) : string
relativePath string
리턴 string

GetDirectoryForCaller() 공개 정적인 메소드

public static GetDirectoryForCaller ( ) : string
리턴 string

GetDirectoryForCaller() 공개 정적인 메소드

public static GetDirectoryForCaller ( int callerStackDepth ) : string
callerStackDepth int
리턴 string

GetDirectoryForStackFrame() 공개 정적인 메소드

public static GetDirectoryForStackFrame ( StackFrame stackFrame ) : string
stackFrame System.Diagnostics.StackFrame
리턴 string

LocateFileFromEnviormentPath() 공개 정적인 메소드

public static LocateFileFromEnviormentPath ( string toFind ) : IEnumerable
toFind string
리턴 IEnumerable

ScrubPath() 공개 정적인 메소드

public static ScrubPath ( this text, string path ) : string
text this
path string
리턴 string