8[DebuggerDisplay(
"{DebuggerDisplayContent,nq}")]
148 private object DebuggerDisplayContent =>
$"{Common.GetNameForDebugger(this, (_defaultTarget != null) ? _defaultTarget.DataflowBlockOptions : _spscTarget.DataflowBlockOptions)}, InputCount={InputCountForDebugger}";
175 if ((
object)
action ==
null)
261 else if (
task.IsCompleted)
bool IsDecliningPermanently
readonly SpscTargetCore< TInput >.DebuggingInformation _spscDebugInfo
IEnumerable< TInput > InputQueue
QueuedMap< ISourceBlock< TInput >, DataflowMessageHeader > PostponedMessages
DebugView(ActionBlock< TInput > actionBlock)
readonly ActionBlock< TInput > _actionBlock
readonly TargetCore< TInput >.DebuggingInformation _defaultDebugInfo
int CurrentDegreeOfParallelism
ActionBlock(Delegate action, ExecutionDataflowBlockOptions dataflowBlockOptions)
void AsyncCompleteProcessMessageWithTask(Task completed)
ActionBlock(Action< TInput > action, ExecutionDataflowBlockOptions dataflowBlockOptions)
ActionBlock(Action< TInput > action)
object DebuggerDisplayContent
void ProcessMessageWithTask(Func< TInput, Task > action, KeyValuePair< TInput, long > messageWithId)
readonly SpscTargetCore< TInput > _spscTarget
void ProcessMessage(Action< TInput > action, KeyValuePair< TInput, long > messageWithId)
ActionBlock(Func< TInput, Task > action, ExecutionDataflowBlockOptions dataflowBlockOptions)
int InputCountForDebugger
ActionBlock(Func< TInput, Task > action)
override string ToString()
readonly TargetCore< TInput > _defaultTarget
static bool IsCooperativeCancellation(Exception exception)
static TaskContinuationOptions GetContinuationOptions(TaskContinuationOptions toInclude=TaskContinuationOptions.None)
static string GetNameForDebugger(IDataflowBlock block, DataflowBlockOptions options=null)
static readonly DataflowMessageHeader SingleMessageHeader
static void WireCancellationToComplete(CancellationToken cancellationToken, Task completionTask, Action< object > completeAction, object completeState)
static int GetBlockId(IDataflowBlock block)
static readonly DataflowEtwProvider Log
static TaskScheduler Default
void Fault(Exception exception)
static CancellationToken None