Example #1
0
 public static IStream <TOut> CrossApplyNonCorrelated <TIn, TOut>(this IStream <TIn> stream, string name, Func <TIn, IEnumerable <TOut> > values, bool noParallelisation = false)
 => stream.CrossApply <TIn, TOut>(name, EnumerableValuesProvider.Create(values), noParallelisation);
Example #2
0
 public static IStream <Correlated <TOut> > CrossApply <TIn, TOut>(this IStream <Correlated <TIn> > stream, string name, Func <TIn, IEnumerable <TOut> > values, bool noParallelisation = false)
 => stream.CrossApply <Correlated <TIn>, Correlated <TOut> >(name, new ValueProviderCorrelationWrapper <TIn, TOut>(EnumerableValuesProvider.Create(values)), noParallelisation);