C# Class ImageGlass.Library.DirectoryFinder

Mostra file Open project: d2phap/ImageGlass

Public Methods

Method Description
FindDirectories ( string RootDirectory, bool SearchAllDirectories, Predicate Filter ) : List

Returns a list of directories under RootDirectory

FindFiles ( string RootDirectory, bool SearchAllDirectories, Predicate Filter ) : List

Returns a list of files under RootDirectory

Method Details

FindDirectories() public static method

Returns a list of directories under RootDirectory
public static FindDirectories ( string RootDirectory, bool SearchAllDirectories, Predicate Filter ) : List
RootDirectory string starting directory
SearchAllDirectories bool when true, all sub directories will be searched as well
Filter Predicate filter to be done on directory. use null for no filtering
return List

FindFiles() public static method

Returns a list of files under RootDirectory
public static FindFiles ( string RootDirectory, bool SearchAllDirectories, Predicate Filter ) : List
RootDirectory string >starting directory
SearchAllDirectories bool >when true, all sub directories will be searched as well
Filter Predicate filter to be done on files/directory. use null for no filtering
return List