MoreEnumerableFromT(FuncT, FuncT, FuncT) Method
Returns a sequence containing the result of invoking each parameter function in order.
Namespace: MoreLinqAssembly: MoreLinq (in MoreLinq.dll) Version: 3.4.0+b99a6a8cc504caf2d48372fe54a2f8116c59cd0c
public static IEnumerable<T> From<T>(
Func<T> function1,
Func<T> function2,
Func<T> function3
)
Public Shared Function From(Of T) (
function1 As Func(Of T),
function2 As Func(Of T),
function3 As Func(Of T)
) As IEnumerable(Of T)
public:
generic<typename T>
static IEnumerable<T>^ From(
Func<T>^ function1,
Func<T>^ function2,
Func<T>^ function3
)
static member From :
function1 : Func<'T> *
function2 : Func<'T> *
function3 : Func<'T> -> IEnumerable<'T>
- function1 FuncT
- The first function to evaluate.
- function2 FuncT
- The second function to evaluate.
- function3 FuncT
- The third function to evaluate.
- T
- The type of the object returned by the functions.
IEnumerableTA sequence with the values resulting from invoking
function1,
function2 and
function3.
This operator uses deferred execution and streams the results.
If the resulting sequence is enumerated multiple times, the functions will be
invoked multiple times too.