2 types derived from DataflowBlockOptions
System.Threading.Tasks.Dataflow (2)
Base\DataflowBlockOptions.cs (2)
250
public class ExecutionDataflowBlockOptions :
DataflowBlockOptions
382
public class GroupingDataflowBlockOptions :
DataflowBlockOptions
2 instantiations of DataflowBlockOptions
System.Threading.Tasks.Dataflow (2)
Base\DataflowBlockOptions.cs (2)
85
internal static readonly DataflowBlockOptions Default = new
DataflowBlockOptions
();
93
new
DataflowBlockOptions
47 references to DataflowBlockOptions
System.Threading.Tasks.Dataflow (47)
Base\DataflowBlock.cs (6)
1711
return Choose(source1, action1, source2, action2,
DataflowBlockOptions
.Default);
1747
DataflowBlockOptions
dataflowBlockOptions)
1811
return Choose(source1, action1, source2, action2, source3, action3,
DataflowBlockOptions
.Default);
1852
DataflowBlockOptions
dataflowBlockOptions)
1904
DataflowBlockOptions
dataflowBlockOptions)
1989
DataflowBlockOptions
dataflowBlockOptions)
Base\DataflowBlockOptions.cs (10)
23
/// <see cref="
DataflowBlockOptions
"/> is mutable and can be configured through its properties.
56
/// to the provided <see cref="
DataflowBlockOptions
"/> instance should not affect the behavior
63
/// A constant used to specify an unlimited quantity for <see cref="
DataflowBlockOptions
"/> members
81
/// <summary>A default instance of <see cref="
DataflowBlockOptions
"/>.</summary>
85
internal static readonly
DataflowBlockOptions
Default = new DataflowBlockOptions();
87
/// <summary>Returns this <see cref="
DataflowBlockOptions
"/> instance if it's the default instance or else a cloned instance.</summary>
89
internal
DataflowBlockOptions
DefaultOrClone()
104
/// <summary>Initializes the <see cref="
DataflowBlockOptions
"/>.</summary>
252
/// <summary>A default instance of <see cref="
DataflowBlockOptions
"/>.</summary>
384
/// <summary>A default instance of <see cref="
DataflowBlockOptions
"/>.</summary>
Base\DataflowLinkOptions.cs (1)
53
internal const int Unbounded =
DataflowBlockOptions
.Unbounded;
Blocks\ActionBlock.cs (1)
90
dataflowBlockOptions.BoundedCapacity ==
DataflowBlockOptions
.Unbounded)
Blocks\BatchedJoinBlock.cs (2)
60
if (dataflowBlockOptions.BoundedCapacity !=
DataflowBlockOptions
.Unbounded) throw new ArgumentException(SR.Argument_BoundedCapacityNotSupported, nameof(dataflowBlockOptions));
308
dataflowBlockOptions.BoundedCapacity !=
DataflowBlockOptions
.Unbounded)
Blocks\BroadcastBlock.cs (8)
55
this(cloningFunction,
DataflowBlockOptions
.Default)
58
/// <summary>Initializes the <see cref="BroadcastBlock{T}"/> with the specified cloning function and <see cref="
DataflowBlockOptions
"/>.</summary>
65
public BroadcastBlock(Func<T, T>? cloningFunction,
DataflowBlockOptions
dataflowBlockOptions)
480
public
DataflowBlockOptions
DataflowBlockOptions { get { return _sourceDebuggingInformation.DataflowBlockOptions; } }
519
private readonly
DataflowBlockOptions
_dataflowBlockOptions;
550
DataflowBlockOptions
dataflowBlockOptions,
1189
internal
DataflowBlockOptions
DataflowBlockOptions { get { return _dataflowBlockOptions; } }
1225
public
DataflowBlockOptions
DataflowBlockOptions { get { return _source._dataflowBlockOptions; } }
Blocks\BufferBlock.cs (4)
40
this(
DataflowBlockOptions
.Default)
43
/// <summary>Initializes the <see cref="BufferBlock{T}"/> with the specified <see cref="
DataflowBlockOptions
"/>.</summary>
46
public BufferBlock(
DataflowBlockOptions
dataflowBlockOptions)
467
public
DataflowBlockOptions
DataflowBlockOptions { get { return _sourceDebuggingInformation.DataflowBlockOptions; } }
Blocks\TransformBlock.cs (1)
84
/// and <see cref="
DataflowBlockOptions
"/>.
Blocks\WriteOnceBlock.cs (5)
32
private readonly
DataflowBlockOptions
_dataflowBlockOptions;
53
this(cloningFunction,
DataflowBlockOptions
.Default)
56
/// <summary>Initializes the <see cref="WriteOnceBlock{T}"/> with the specified <see cref="
DataflowBlockOptions
"/>.</summary>
63
public WriteOnceBlock(Func<T, T>? cloningFunction,
DataflowBlockOptions
dataflowBlockOptions)
549
public
DataflowBlockOptions
DataflowBlockOptions { get { return _writeOnceBlock._dataflowBlockOptions; } }
Internal\Common.cs (1)
118
IDataflowBlock block,
DataflowBlockOptions
? options = null)
Internal\DataflowEtwProvider.cs (1)
64
internal void DataflowBlockCreated(IDataflowBlock block,
DataflowBlockOptions
dataflowBlockOptions)
Internal\SourceCore.cs (5)
62
private readonly
DataflowBlockOptions
_dataflowBlockOptions;
103
ISourceBlock<TOutput> owningSource,
DataflowBlockOptions
dataflowBlockOptions,
534
internal
DataflowBlockOptions
DataflowBlockOptions { get { return _dataflowBlockOptions; } }
822
_dataflowBlockOptions.MaxMessagesPerTask ==
DataflowBlockOptions
.Unbounded ?
1014
internal
DataflowBlockOptions
DataflowBlockOptions { get { return _source._dataflowBlockOptions; } }
Internal\TargetCore.cs (2)
127
if (_dataflowBlockOptions.BoundedCapacity != System.Threading.Tasks.Dataflow.
DataflowBlockOptions
.Unbounded)
617
System.Threading.Tasks.Dataflow.
DataflowBlockOptions
.Unbounded, "Only valid to use when in bounded mode.");