C# 클래스 ToolBelt.DirectoryInfoUtility

Extensions to the DirectoryInfo class.
파일 보기 프로젝트 열기: jlyonsmith/ToolBelt

공개 메소드들

메소드 설명
GetDirectories ( ToolBelt.ParsedPath dirSpec, SearchScope scope ) : IList

Returns a list of directories given a file search pattern. Will also search sub-directories and parent directories.

GetFiles ( ToolBelt.ParsedPath fileSpec, SearchScope scope ) : IList

Returns a list of files given a file search pattern. Will also search sub-directories.

비공개 메소드들

메소드 설명
NonRecursiveGetDirectories ( ToolBelt.ParsedPath rootPath ) : System.IO.DirectoryInfo[]
NonRecursiveGetFiles ( ToolBelt.ParsedPath rootPath ) : IList
RecursiveGetParentDirectories ( ToolBelt.ParsedPath rootPath, List &dirs ) : void
RecursiveGetParentFiles ( ToolBelt.ParsedPath rootPath, List &files ) : void
RecursiveGetSubDirectories ( ToolBelt.ParsedPath rootPath, bool breadthFirst, List &dirs ) : void
RecursiveGetSubFiles ( ToolBelt.ParsedPath rootPath, bool breadthFirst, List &files ) : void

메소드 상세

GetDirectories() 공개 정적인 메소드

Returns a list of directories given a file search pattern. Will also search sub-directories and parent directories.
public static GetDirectories ( ToolBelt.ParsedPath dirSpec, SearchScope scope ) : IList
dirSpec ToolBelt.ParsedPath Search specification with with optional directory and wildcards
scope SearchScope The scope of the search.
리턴 IList

GetFiles() 공개 정적인 메소드

Returns a list of files given a file search pattern. Will also search sub-directories.
public static GetFiles ( ToolBelt.ParsedPath fileSpec, SearchScope scope ) : IList
fileSpec ToolBelt.ParsedPath
scope SearchScope The scope of the search.
리턴 IList