C# Class LinFu.Reflection.DefaultDirectoryLister

A class that lists the contents of a given directory.
Inheritance: IDirectoryListing
显示文件 Open project: philiplaureano/LinFu Class Usage Examples

Public Methods

Method Description
GetFiles ( string path, string searchPattern ) : IEnumerable

Returns a list of files that match the searchPattern from the given directory path.

Method Details

GetFiles() public method

Returns a list of files that match the searchPattern from the given directory path.
public GetFiles ( string path, string searchPattern ) : IEnumerable
path string The target directory to search.
searchPattern string The search string to match against the names of the files in the .
return IEnumerable