4 instantiations of ExecutionDataflowBlockOptions
Microsoft.Build.Tasks.Core (1)
Copy.cs (1)
562var actionBlockOptions = new ExecutionDataflowBlockOptions
System.Threading.Tasks.Dataflow (3)
Base\DataflowBlock.cs (1)
2244private static readonly ExecutionDataflowBlockOptions _nonGreedyExecutionOptions = new ExecutionDataflowBlockOptions { BoundedCapacity = 1 };
Base\DataflowBlockOptions.cs (2)
256internal static new readonly ExecutionDataflowBlockOptions Default = new ExecutionDataflowBlockOptions(); 264new ExecutionDataflowBlockOptions
43 references to ExecutionDataflowBlockOptions
Microsoft.Build.Tasks.Core (1)
Copy.cs (1)
562var actionBlockOptions = new ExecutionDataflowBlockOptions
System.Threading.Tasks.Dataflow (42)
Base\DataflowBlock.cs (1)
2244private 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 256internal 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> 260internal new ExecutionDataflowBlockOptions DefaultOrClone() 282/// <summary>Initializes the <see cref="ExecutionDataflowBlockOptions"/>.</summary>
Blocks\ActionBlock.cs (8)
36this((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> 44public ActionBlock(Action<TInput> action, ExecutionDataflowBlockOptions dataflowBlockOptions) : 52this((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> 60public ActionBlock(Func<TInput, Task> action, ExecutionDataflowBlockOptions dataflowBlockOptions) : 69private ActionBlock(Delegate action, ExecutionDataflowBlockOptions dataflowBlockOptions) 366public ExecutionDataflowBlockOptions DataflowBlockOptions
Blocks\TransformBlock.cs (8)
48this(transform, null, ExecutionDataflowBlockOptions.Default) 53/// <see cref="ExecutionDataflowBlockOptions"/>. 59public TransformBlock(Func<TInput, TOutput> transform, ExecutionDataflowBlockOptions dataflowBlockOptions) : 67this(null, transform, ExecutionDataflowBlockOptions.Default) 72/// and <see cref="ExecutionDataflowBlockOptions"/>. 78public TransformBlock(Func<TInput, Task<TOutput>> transform, ExecutionDataflowBlockOptions dataflowBlockOptions) : 91private TransformBlock(Func<TInput, TOutput>? transformSync, Func<TInput, Task<TOutput>>? transformAsync, ExecutionDataflowBlockOptions dataflowBlockOptions) 442public ExecutionDataflowBlockOptions DataflowBlockOptions { get { return _targetDebuggingInformation.DataflowBlockOptions; } }
Blocks\TransformManyBlock.cs (8)
56this(transform, ExecutionDataflowBlockOptions.Default) 60/// <summary>Initializes the <see cref="TransformManyBlock{TInput,TOutput}"/> with the specified function and <see cref="ExecutionDataflowBlockOptions"/>.</summary> 68public TransformManyBlock(Func<TInput, IEnumerable<TOutput>> transform, ExecutionDataflowBlockOptions dataflowBlockOptions) 81this(transform, ExecutionDataflowBlockOptions.Default) 84/// <summary>Initializes the <see cref="TransformManyBlock{TInput,TOutput}"/> with the specified function and <see cref="ExecutionDataflowBlockOptions"/>.</summary> 92public TransformManyBlock(Func<TInput, Task<IEnumerable<TOutput>>> transform, ExecutionDataflowBlockOptions dataflowBlockOptions) 100ExecutionDataflowBlockOptions dataflowBlockOptions, 648public ExecutionDataflowBlockOptions DataflowBlockOptions { get { return _targetDebuggingInformation.DataflowBlockOptions; } }
Blocks\TransformManyBlock.IAsyncEnumerable.cs (3)
19this(transform, ExecutionDataflowBlockOptions.Default) 23/// <summary>Initializes the <see cref="TransformManyBlock{TInput,TOutput}"/> with the specified function and <see cref="ExecutionDataflowBlockOptions"/>.</summary> 30public TransformManyBlock(Func<TInput, IAsyncEnumerable<TOutput>> transform, ExecutionDataflowBlockOptions dataflowBlockOptions)
Internal\SpscTargetCore.cs (4)
51private readonly ExecutionDataflowBlockOptions _dataflowBlockOptions; 75ITargetBlock<TInput> owningTarget, Action<TInput> action, ExecutionDataflowBlockOptions dataflowBlockOptions) 364internal ExecutionDataflowBlockOptions DataflowBlockOptions { get { return _dataflowBlockOptions; } } 396internal ExecutionDataflowBlockOptions DataflowBlockOptions { get { return _target._dataflowBlockOptions; } }
Internal\TargetCore.cs (4)
68private readonly ExecutionDataflowBlockOptions _dataflowBlockOptions; 110ExecutionDataflowBlockOptions dataflowBlockOptions, 837internal ExecutionDataflowBlockOptions DataflowBlockOptions { get { return _dataflowBlockOptions; } } 868internal ExecutionDataflowBlockOptions DataflowBlockOptions { get { return _target._dataflowBlockOptions; } }