VPEnumerableExtensions LoopOverVariables T1, T2, TReturn  Method (Func T1, T2, TReturn , IEnumerable T1 , IEnumerable T2 )Virtual Photonics - VTS Library
Virtual Photonics

Namespace: Vts.Extensions
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax

public static IEnumerable<TReturn> LoopOverVariables<T1, T2, TReturn>(
	this Func<T1, T2, TReturn> myFunc,
	IEnumerable<T1> firstValues,
	IEnumerable<T2> secondValues
)

Parameters

myFunc
Type: OnlineSystem Func T1, T2, TReturn 
firstValues
Type: OnlineSystem.Collections.Generic IEnumerable T1 
secondValues
Type: OnlineSystem.Collections.Generic IEnumerable T2 
Type Parameters

T1
T2
TReturn

Return Value

Type: OnlineIEnumerable TReturn 

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type OnlineFunc T1, T2, TReturn . When you use instance method syntax to call this method, omit the first parameter. For more information, see OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also