Enumerates input in parallel this collection, returning a selection on the interpreter.

Namespace: csmic.Extensions
Assembly: csmic (in csmic.dll) Version: 1.1.3.0 (1.1.3.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static IEnumerable<T> InterpretInParallel<T>(
	this IEnumerable<string> collection,
	Func<InputInterpreter, T> selection
)
<ExtensionAttribute> _
Public Shared Function InterpretInParallel(Of T) ( _
	collection As IEnumerable(Of String), _
	selection As Func(Of InputInterpreter, T) _
) As IEnumerable(Of T)
[ExtensionAttribute]
public:
generic<typename T>
static IEnumerable<T>^ InterpretInParallel(
	IEnumerable<String^>^ collection, 
	Func<InputInterpreter^, T>^ selection
)

Parameters

collection
IEnumerable<(Of <(<'String>)>)>
The collection to act on.
selection
Func<(Of <(<'InputInterpreter, T>)>)>
The selection.

Type Parameters

T
Generic type parameter.

Return Value

An enumerator that allows foreach to be used to process interpret in parallel< t> in this collection.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable<(Of <(<'String>)>)>. When you use instance method syntax to call this method, omit the first parameter.

See Also