Summary
Adds an action to be executed foreach item returned by the items function.
This method will be executed the first time the task is executed.
Syntax
public static CakeTaskBuilder DoesForEach<TItem>(this CakeTaskBuilder builder, Func<IEnumerable<TItem>> itemsFunc, Action<TItem> action)
Type Parameters
| Name |
Description |
| TItem |
The item type. |
Parameters
| Name |
Type |
Description |
| builder |
CakeTaskBuilder |
The task builder. |
| itemsFunc |
Func<IEnumerable<TItem>> |
The items. |
| action |
Action<TItem> |
The action. |
Return Value