IOT Dash
Static Public Member Functions | List of all members
IotDash.Utils.Collections.CollectionExtensions Class Reference

Static Public Member Functions

static void ForEach< T > (this IEnumerable< T > enumerable, Action< T > action)
 

Detailed Description

Extensions for IEnumerable.

Member Function Documentation

◆ ForEach< T >()

static void IotDash.Utils.Collections.CollectionExtensions.ForEach< T > ( this IEnumerable< T >  enumerable,
Action< T >  action 
)
inlinestatic

Execute action for each element of the IEnumerable<T>

Template Parameters
TItem of the enumerable.
Parameters
enumerableThe enumerable to iterate.
actionThe action to execute.

The documentation for this class was generated from the following file: