20 references to TransformBlock
System.Threading.Tasks.Dataflow (20)
Base\DataflowBlockOptions.cs (2)
184
/// block like <see cref="
TransformBlock
{TInput, TOutput}"/> will ensure that messages are output in the same
202
/// as <see cref="ActionBlock{T}"/> and <see cref="
TransformBlock
{TInput,TOutput}"/>.
Blocks\TransformBlock.cs (18)
21
/// <typeparam name="TInput">Specifies the type of data received and operated on by this <see cref="
TransformBlock
{TInput,TOutput}"/>.</typeparam>
22
/// <typeparam name="TOutput">Specifies the type of data output by this <see cref="
TransformBlock
{TInput,TOutput}"/>.</typeparam>
24
[DebuggerTypeProxy(typeof(
TransformBlock
<,>.DebugView))]
44
/// <summary>Initializes the <see cref="
TransformBlock
{TInput,TOutput}"/> with the specified <see cref="System.Func{TInput,TOutput}"/>.</summary>
52
/// Initializes the <see cref="
TransformBlock
{TInput,TOutput}"/> with the specified <see cref="System.Func{TInput,TOutput}"/> and
56
/// <param name="dataflowBlockOptions">The options with which to configure this <see cref="
TransformBlock
{TInput,TOutput}"/>.</param>
63
/// <summary>Initializes the <see cref="
TransformBlock
{TInput,TOutput}"/> with the specified <see cref="System.Func{TInput,TOutput}"/>.</summary>
71
/// Initializes the <see cref="
TransformBlock
{TInput,TOutput}"/> with the specified <see cref="System.Func{TInput,TOutput}"/>
75
/// <param name="dataflowBlockOptions">The options with which to configure this <see cref="
TransformBlock
{TInput,TOutput}"/>.</param>
83
/// Initializes the <see cref="
TransformBlock
{TInput,TOutput}"/> with the specified <see cref="System.Func{TInput,TOutput}"/>
88
/// <param name="dataflowBlockOptions">The options with which to configure this <see cref="
TransformBlock
{TInput,TOutput}"/>.</param>
109
onItemsRemoved = static (owningSource, count) => ((
TransformBlock
<TInput, TOutput>)owningSource)._target.ChangeBoundingCount(-count);
113
static owningSource => ((
TransformBlock
<TInput, TOutput>)owningSource)._target.Complete(exception: null, dropPendingMessages: true),
120
_reorderingBuffer = new ReorderingBuffer<TOutput>(this, static (owningSource, message) => ((
TransformBlock
<TInput, TOutput>)owningSource)._source.AddMessage(message));
156
var thisBlock = ((
TransformBlock
<TInput, TOutput>)state!) as IDataflowBlock;
262
var tuple = (Tuple<
TransformBlock
<TInput, TOutput>, KeyValuePair<TInput, long>>)state!;
413
private readonly
TransformBlock
<TInput, TOutput> _transformBlock;
421
public DebugView(
TransformBlock
<TInput, TOutput> transformBlock)