C# 클래스 FubarDev.FtpServer.FileSystem.FileSystemExtensions

Extensions for the file system stuff
파일 보기 프로젝트 열기: FubarDevelopment/FtpServer

공개 메소드들

메소드 설명
IsChildOfOrSameAs ( [ pathToTestAsChild, [ pathToTestAsParent, [ fileSystem ) : bool

Is the pathToTestAsChild a child or the same path as pathToTestAsParent?

비공개 메소드들

메소드 설명
Clone ( [ path ) : Stack
CombinePath ( [ path ) : string
CombinePath ( [ path, [ parts ) : string
GetDirectoryAsync ( [ fileSystem, [ currentPath, [ path, CancellationToken cancellationToken ) : Task
GetDirectoryAsync ( [ fileSystem, [ currentPath, [ pathElements, CancellationToken cancellationToken ) : Task
GetFullPath ( [ path ) : string
GetFullPath ( [ path, [ fileName ) : string
GetParentPath ( [ path ) : string
GetPathElements ( [ path ) : IReadOnlyList
SearchDirectoryAsync ( [ fileSystem, [ currentPath, [ path, CancellationToken cancellationToken ) : Task>
SearchDirectoryAsync ( [ fileSystem, [ currentPath, [ pathElements, CancellationToken cancellationToken ) : Task>
SearchEntryAsync ( [ fileSystem, [ currentPath, [ path, CancellationToken cancellationToken ) : Task>
SearchEntryAsync ( this fileSystem, [ currentPath, [ pathElements, CancellationToken cancellationToken ) : Task>
SearchFileAsync ( [ fileSystem, [ currentPath, [ path, CancellationToken cancellationToken ) : Task>
SearchFileAsync ( this fileSystem, [ currentPath, [ pathElements, CancellationToken cancellationToken ) : Task>
SplitPath ( [ path ) : IReadOnlyList
ToDisplayString ( [ path ) : string

메소드 상세

IsChildOfOrSameAs() 공개 정적인 메소드

Is the pathToTestAsChild a child or the same path as pathToTestAsParent?
public static IsChildOfOrSameAs ( [ pathToTestAsChild, [ pathToTestAsParent, [ fileSystem ) : bool
pathToTestAsChild [ The path to test as child
pathToTestAsParent [ The path to test as parent
fileSystem [ The file system to use to compare the file names
리턴 bool