Click or drag to resize

MoreEnumerableFromT Method (FuncT)

Returns a sequence containing the values resulting from invoking (in order) each function in the source sequence of functions.

Namespace:  MoreLinq
Assembly:  MoreLinq (in MoreLinq.dll) Version: 3.2.0+5205ea241d72b079436060d330cd5c2eae7cdcdf
Syntax
public static IEnumerable<T> From<T>(
	params Func<T>[] functions
)

Parameters

functions
Type: SystemFuncT
The functions to evaluate.

Type Parameters

T
The type of the object returned by the functions.

Return Value

Type: IEnumerableT
A sequence with the values resulting from invoking all of the functions.
Exceptions
ExceptionCondition
ArgumentNullExceptionWhen functions is null.
Remarks
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.
See Also