5 instantiations of TargetCore
System.Threading.Tasks.Dataflow (5)
Blocks\ActionBlock.cs (2)
105
_defaultTarget = new
TargetCore
<TInput>(this,
113
_defaultTarget = new
TargetCore
<TInput>(this,
Blocks\TransformBlock.cs (2)
126
_target = new
TargetCore
<TInput>(this,
133
_target = new
TargetCore
<TInput>(this,
Blocks\TransformManyBlock.cs (1)
132
target = new
TargetCore
<TInput>(this, processMessageAction, _reorderingBuffer, dataflowBlockOptions, targetCoreOptions);
20 references to TargetCore
System.Threading.Tasks.Dataflow (20)
Blocks\ActionBlock.cs (3)
28
private readonly
TargetCore
<TInput>? _defaultTarget;
120
dataflowBlockOptions.CancellationToken, Completion, static (state, _) => ((
TargetCore
<TInput>)state!).Complete(exception: null, dropPendingMessages: true), _defaultTarget);
328
private readonly
TargetCore
<TInput>.DebuggingInformation? _defaultDebugInfo;
Blocks\TransformBlock.cs (3)
28
private readonly
TargetCore
<TInput> _target;
163
dataflowBlockOptions.CancellationToken, Completion, static (state, _) => ((
TargetCore
<TInput>)state!).Complete(exception: null, dropPendingMessages: true), _target);
415
private readonly
TargetCore
<TInput>.DebuggingInformation _targetDebuggingInformation;
Blocks\TransformManyBlock.cs (5)
30
private readonly
TargetCore
<TInput> _target;
102
[NotNull] ref
TargetCore
<TInput>? target,
159
dataflowBlockOptions.CancellationToken, Completion, static (state, _) => ((
TargetCore
<TInput>)state!).Complete(exception: null, dropPendingMessages: true), target);
354
TargetCore
<TInput> target = _target;
621
private readonly
TargetCore
<TInput>.DebuggingInformation _targetDebuggingInformation;
Blocks\TransformManyBlock.IAsyncEnumerable.cs (1)
126
TargetCore
<TInput> target = _target;
Internal\SpscTargetCore.cs (1)
42
/// <typeparam name="TInput">Specifies the type of data accepted by the <see cref="
TargetCore
{TInput}"/>.</typeparam>
Internal\TargetCore.cs (7)
44
/// <typeparam name="TInput">Specifies the type of data accepted by the <see cref="
TargetCore
{TInput}"/>.</typeparam>
51
private static readonly Common.KeepAlivePredicate<
TargetCore
<TInput>, KeyValuePair<TInput, long>> _keepAlivePredicate =
52
(
TargetCore
<TInput> thisTargetCore, out KeyValuePair<TInput, long> messageWithId) =>
372
var taskForInputProcessing = new Task(static thisTargetCore => ((
TargetCore
<TInput>)thisTargetCore!).ProcessMessagesLoopCore(), this,
745
Task.Factory.StartNew(static state => ((
TargetCore
<TInput>)state!).CompleteBlockOncePossible(),
847
private readonly
TargetCore
<TInput> _target;
851
internal DebuggingInformation(
TargetCore
<TInput> target) { _target = target; }