3 instantiations of ExecutionDataflowBlockOptions
System.Threading.Tasks.Dataflow (3)
Base\DataflowBlock.cs (1)
2244
private static readonly ExecutionDataflowBlockOptions _nonGreedyExecutionOptions = new
ExecutionDataflowBlockOptions
{ BoundedCapacity = 1 };
Base\DataflowBlockOptions.cs (2)
256
internal static new readonly ExecutionDataflowBlockOptions Default = new
ExecutionDataflowBlockOptions
();
264
new
ExecutionDataflowBlockOptions
42 references to ExecutionDataflowBlockOptions
System.Threading.Tasks.Dataflow (42)
Base\DataflowBlock.cs (1)
2244
private static readonly
ExecutionDataflowBlockOptions
_nonGreedyExecutionOptions = new ExecutionDataflowBlockOptions { BoundedCapacity = 1 };
Base\DataflowBlockOptions.cs (6)
205
/// <see cref="
ExecutionDataflowBlockOptions
"/> is mutable and can be configured through its properties.
246
/// to the provided <see cref="
ExecutionDataflowBlockOptions
"/> instance should not affect the behavior
256
internal static new readonly
ExecutionDataflowBlockOptions
Default = new ExecutionDataflowBlockOptions();
258
/// <summary>Returns this <see cref="
ExecutionDataflowBlockOptions
"/> instance if it's the default instance or else a cloned instance.</summary>
260
internal new
ExecutionDataflowBlockOptions
DefaultOrClone()
282
/// <summary>Initializes the <see cref="
ExecutionDataflowBlockOptions
"/>.</summary>
Blocks\ActionBlock.cs (8)
36
this((Delegate)action,
ExecutionDataflowBlockOptions
.Default)
39
/// <summary>Initializes the <see cref="ActionBlock{T}"/> with the specified <see cref="System.Action{T}"/> and <see cref="
ExecutionDataflowBlockOptions
"/>.</summary>
44
public ActionBlock(Action<TInput> action,
ExecutionDataflowBlockOptions
dataflowBlockOptions) :
52
this((Delegate)action,
ExecutionDataflowBlockOptions
.Default)
55
/// <summary>Initializes the <see cref="ActionBlock{T}"/> with the specified <see cref="System.Func{T,Task}"/> and <see cref="
ExecutionDataflowBlockOptions
"/>.</summary>
60
public ActionBlock(Func<TInput, Task> action,
ExecutionDataflowBlockOptions
dataflowBlockOptions) :
69
private ActionBlock(Delegate action,
ExecutionDataflowBlockOptions
dataflowBlockOptions)
366
public
ExecutionDataflowBlockOptions
DataflowBlockOptions
Blocks\TransformBlock.cs (8)
48
this(transform, null,
ExecutionDataflowBlockOptions
.Default)
53
/// <see cref="
ExecutionDataflowBlockOptions
"/>.
59
public TransformBlock(Func<TInput, TOutput> transform,
ExecutionDataflowBlockOptions
dataflowBlockOptions) :
67
this(null, transform,
ExecutionDataflowBlockOptions
.Default)
72
/// and <see cref="
ExecutionDataflowBlockOptions
"/>.
78
public TransformBlock(Func<TInput, Task<TOutput>> transform,
ExecutionDataflowBlockOptions
dataflowBlockOptions) :
91
private TransformBlock(Func<TInput, TOutput>? transformSync, Func<TInput, Task<TOutput>>? transformAsync,
ExecutionDataflowBlockOptions
dataflowBlockOptions)
442
public
ExecutionDataflowBlockOptions
DataflowBlockOptions { get { return _targetDebuggingInformation.DataflowBlockOptions; } }
Blocks\TransformManyBlock.cs (8)
56
this(transform,
ExecutionDataflowBlockOptions
.Default)
60
/// <summary>Initializes the <see cref="TransformManyBlock{TInput,TOutput}"/> with the specified function and <see cref="
ExecutionDataflowBlockOptions
"/>.</summary>
68
public TransformManyBlock(Func<TInput, IEnumerable<TOutput>> transform,
ExecutionDataflowBlockOptions
dataflowBlockOptions)
81
this(transform,
ExecutionDataflowBlockOptions
.Default)
84
/// <summary>Initializes the <see cref="TransformManyBlock{TInput,TOutput}"/> with the specified function and <see cref="
ExecutionDataflowBlockOptions
"/>.</summary>
92
public TransformManyBlock(Func<TInput, Task<IEnumerable<TOutput>>> transform,
ExecutionDataflowBlockOptions
dataflowBlockOptions)
100
ExecutionDataflowBlockOptions
dataflowBlockOptions,
648
public
ExecutionDataflowBlockOptions
DataflowBlockOptions { get { return _targetDebuggingInformation.DataflowBlockOptions; } }
Blocks\TransformManyBlock.IAsyncEnumerable.cs (3)
19
this(transform,
ExecutionDataflowBlockOptions
.Default)
23
/// <summary>Initializes the <see cref="TransformManyBlock{TInput,TOutput}"/> with the specified function and <see cref="
ExecutionDataflowBlockOptions
"/>.</summary>
30
public TransformManyBlock(Func<TInput, IAsyncEnumerable<TOutput>> transform,
ExecutionDataflowBlockOptions
dataflowBlockOptions)
Internal\SpscTargetCore.cs (4)
51
private readonly
ExecutionDataflowBlockOptions
_dataflowBlockOptions;
75
ITargetBlock<TInput> owningTarget, Action<TInput> action,
ExecutionDataflowBlockOptions
dataflowBlockOptions)
364
internal
ExecutionDataflowBlockOptions
DataflowBlockOptions { get { return _dataflowBlockOptions; } }
396
internal
ExecutionDataflowBlockOptions
DataflowBlockOptions { get { return _target._dataflowBlockOptions; } }
Internal\TargetCore.cs (4)
68
private readonly
ExecutionDataflowBlockOptions
_dataflowBlockOptions;
110
ExecutionDataflowBlockOptions
dataflowBlockOptions,
837
internal
ExecutionDataflowBlockOptions
DataflowBlockOptions { get { return _dataflowBlockOptions; } }
868
internal
ExecutionDataflowBlockOptions
DataflowBlockOptions { get { return _target._dataflowBlockOptions; } }