Filters the source code file based on path.
- Namespace
- Statiq
.CodeAnalysis - Containing Type
- ReadWorkspace
Syntax
public ReadWorkspace WhereFile(Func<IFile, bool> predicate)
Parameters
| Name | Type | Description |
|---|---|---|
| predicate | Func |
A predicate that should return true if the source code file should be included. |
Return Value
| Type | Description |
|---|---|
| ReadWorkspace | The current module instance. |