Summary
Adds an action to be executed foreach item in the list.
Syntax
public static CakeTaskBuilder DoesForEach<TData, TItem>(this CakeTaskBuilder builder, IEnumerable<TItem> items, Action<TData, TItem, ICakeContext> action)
where TData : class
Type Parameters
Name |
Description |
TData |
The type of the data context. |
TItem |
The item type. |
Parameters
Name |
Type |
Description |
builder |
CakeTaskBuilder |
The task builder. |
items |
IEnumerable<TItem> |
The items. |
action |
Action<TData, TItem, ICakeContext> |
The action. |
Return Value