Summary
Gets files matching the specified filter and scope.
Syntax
public static IEnumerable<IFile> GetFiles(this IDirectory directory, string filter, SearchScope scope, Func<IFileSystemInfo, bool> predicate)
Parameters
Name |
Type |
Description |
directory |
IDirectory |
The directory. |
filter |
string |
The filter. |
scope |
SearchScope |
The search scope. |
predicate |
Func<IFileSystemInfo, bool> |
Predicate used to filter files based on file system information. |
Return Value
Type |
Description |
IEnumerable<IFile> |
The files matching the specified filter, scope and predicate. |