Class IEnumerableExtensions
- Namespace
- CounterpointCollective.Dataflow
- Assembly
- Dataflow.Composable.dll
public static class IEnumerableExtensions
- Inheritance
-
IEnumerableExtensions
- Inherited Members
-
Methods
AsSourceBlock<I>(IEnumerable<I>)
public static BufferBlock<I> AsSourceBlock<I>(this IEnumerable<I> source)
Parameters
source IEnumerable<I>
Returns
- BufferBlock<I>
Type Parameters
I
AsSourceBlock<I>(IEnumerable<I>, bool)
public static BufferBlock<I> AsSourceBlock<I>(this IEnumerable<I> source, bool complete)
Parameters
source IEnumerable<I>
complete bool
Returns
- BufferBlock<I>
Type Parameters
I
AsSourceBlock<I>(IEnumerable<I>, DataflowBlockOptions)
public static BufferBlock<I> AsSourceBlock<I>(this IEnumerable<I> source, DataflowBlockOptions options)
Parameters
source IEnumerable<I>
options DataflowBlockOptions
Returns
- BufferBlock<I>
Type Parameters
I
AsSourceBlock<I>(IEnumerable<I>, DataflowBlockOptions, bool)
public static BufferBlock<I> AsSourceBlock<I>(this IEnumerable<I> source, DataflowBlockOptions options, bool complete)
Parameters
source IEnumerable<I>
options DataflowBlockOptions
complete bool
Returns
- BufferBlock<I>
Type Parameters
I
FeedTo<T>(IEnumerable<T>, ITargetBlock<T>, bool, CancellationToken)
public static Task FeedTo<T>(this IEnumerable<T> source, ITargetBlock<T> target, bool complete, CancellationToken cancel = default)
Parameters
source IEnumerable<T>
target ITargetBlock<T>
complete bool
cancel CancellationToken
Returns
- Task
Type Parameters
T
FeedTo<T>(IEnumerable<T>, ITargetBlock<T>, CancellationToken)
public static Task FeedTo<T>(this IEnumerable<T> source, ITargetBlock<T> target, CancellationToken cancel = default)
Parameters
source IEnumerable<T>
target ITargetBlock<T>
cancel CancellationToken
Returns
- Task
Type Parameters
T