MoreEnumerableFromT(FuncT) Method
Returns a sequence containing the values resulting from invoking (in order) each function in the source sequence of functions.
Namespace: MoreLinqAssembly: MoreLinq (in MoreLinq.dll) Version: 3.4.0+b99a6a8cc504caf2d48372fe54a2f8116c59cd0c
public static IEnumerable<T> From<T>(
params Func<T>[] functions
)
Public Shared Function From(Of T) (
ParamArray functions As Func(Of T)()
) As IEnumerable(Of T)
public:
generic<typename T>
static IEnumerable<T>^ From(
... array<Func<T>^>^ functions
)
static member From :
functions : Func<'T>[] -> IEnumerable<'T>
- functions FuncT
- The functions to evaluate.
- T
- The type of the object returned by the functions.
IEnumerableTA sequence with the values resulting from invoking all of the
functions.
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.