Summary
Gets files from the specified directory using globbing patterns.
- Assembly
- Wyam
.Core .dll - Namespace
- Wyam
.Core .IO .Globbing - Containing Type
- Globber
Syntax
public static IEnumerable<IFile> GetFiles(IDirectory directory, IEnumerable<string> patterns)
Parameters
Name | Type | Description |
---|---|---|
directory | IDirectory | The directory to search. |
patterns | IEnumerable |
The globbing pattern(s) to use. |
Return Value
Type | Description |
---|---|
IEnumerable |
Files that match the globbing pattern(s). |