Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 664 Bytes

File metadata and controls

24 lines (16 loc) · 664 Bytes

EnumerableExtensions.ApplyToAll<T> method

Applies an Action to all items in an enumeration, when enumerated.

public static IEnumerable<T> ApplyToAll<T>(this IEnumerable<T> src, Action<T> action)
parameter description
T Items type
src Source enumeration
action The action to perform on each items

Return Value

Original enumeration with items modified or used by the specified action

See Also