OpenMetaverse Protocol Library Developers API Documentation
ForEach < (Of < ( <' T > ) > ) > Method (enumerable, body)
NamespacesOpenMetaverseParallelForEach < (Of < <' ( T > ) > > ) (IEnumerable < (Of < <' ( T > ) > > ) , Action < (Of < <' ( T > ) > > ) )
Executes a foreach loop in which iterations may run in parallel
Declaration Syntax
C#
public 
static 
void 
ForEach<T>(
        
IEnumerable<T> 
enumerable,
        
Action<T> 
body
)
Generic Template Parameters
T
Object type that the collection wraps
Parameters
enumerable ( IEnumerable < (Of < ( <' T > ) > ) > )
An enumerable collection to iterate over
body ( Action < (Of < ( <' T > ) > ) > )
Method body to run for each object in the collection

Assembly: OpenMetaverse(Module: OpenMetaverse.dll) Version: 0.9.3.3318 (0.9.3.3318)