Documentation de Dvp.Net. Forum : http://www.developpez.net/forums/f1239/applications/projets/projets-heberges/dvp-net/

[Ceci est une documentation préliminaire, sous réserve de modification.]

Exécute la méthode callback de manière parallele sur tous les éléments de la collection

Namespace:  Developpez.Dotnet.Collections
Assembly:  Developpez.Dotnet (in Developpez.Dotnet.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static void ForEachParallel(
	this IEnumerable enumerable,
	ThreadedWorker<(Of <(T>)>)..::.CallBackMethod callback
)
Visual Basic (Declaration)
<ExtensionAttribute> _
Public Shared Sub ForEachParallel ( _
	enumerable As IEnumerable, _
	callback As ThreadedWorker<(Of <(T>)>)..::.CallBackMethod _
)
Visual C++
[ExtensionAttribute]
public:
static void ForEachParallel(
	IEnumerable^ enumerable, 
	ThreadedWorker<(Of <(T>)>)..::.CallBackMethod^ callback
)

Parameters

enumerable
Type: System.Collections..::.IEnumerable

[Missing <param name="enumerable"/> documentation for "M:Developpez.Dotnet.Collections.EnumerableExtensions.ForEachParallel(System.Collections.IEnumerable,Developpez.Dotnet.Threading.ThreadedWorker{System.Object}.CallBackMethod)"]

callback
Type: Developpez.Dotnet.Threading..::.ThreadedWorker<(Of <(T>)>)..::.CallBackMethod
Méthode à rappeller sur chacun des éléments

See Also