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: 4.4.0+6d97c3b1d482f98300f4446df14742b0e3fafbec
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.