16 implementations of OfferMessage
System.Threading.Tasks.Dataflow (16)
Base\DataflowBlock.cs (6)
148
DataflowMessageStatus ITargetBlock<T>.
OfferMessage
(DataflowMessageHeader messageHeader, T messageValue, ISourceBlock<T>? source, bool consumeToAccept)
1179
DataflowMessageStatus ITargetBlock<T>.
OfferMessage
(DataflowMessageHeader messageHeader, T messageValue, ISourceBlock<T>? source, bool consumeToAccept)
1493
DataflowMessageStatus ITargetBlock<T>.
OfferMessage
(DataflowMessageHeader messageHeader, T messageValue, ISourceBlock<T>? source, bool consumeToAccept)
1592
public DataflowMessageStatus
OfferMessage
(DataflowMessageHeader messageHeader, TInput messageValue, ISourceBlock<TInput>? source, bool consumeToAccept)
2180
public DataflowMessageStatus
OfferMessage
(DataflowMessageHeader messageHeader, T messageValue, ISourceBlock<T>? source, bool consumeToAccept)
2697
DataflowMessageStatus ITargetBlock<TInput>.
OfferMessage
(DataflowMessageHeader messageHeader, TInput messageValue, ISourceBlock<TInput>? source, bool consumeToAccept)
Blocks\ActionBlock.cs (1)
290
DataflowMessageStatus ITargetBlock<TInput>.
OfferMessage
(DataflowMessageHeader messageHeader, TInput messageValue, ISourceBlock<TInput>? source, bool consumeToAccept)
Blocks\BatchBlock.cs (1)
152
DataflowMessageStatus ITargetBlock<T>.
OfferMessage
(DataflowMessageHeader messageHeader, T messageValue, ISourceBlock<T>? source, bool consumeToAccept)
Blocks\BatchedJoinBlock.cs (1)
570
public DataflowMessageStatus
OfferMessage
(DataflowMessageHeader messageHeader, T messageValue, ISourceBlock<T>? source, bool consumeToAccept)
Blocks\BroadcastBlock.cs (1)
166
DataflowMessageStatus ITargetBlock<T>.
OfferMessage
(DataflowMessageHeader messageHeader, T messageValue, ISourceBlock<T>? source, bool consumeToAccept)
Blocks\BufferBlock.cs (1)
91
DataflowMessageStatus ITargetBlock<T>.
OfferMessage
(DataflowMessageHeader messageHeader, T messageValue, ISourceBlock<T>? source, bool consumeToAccept)
Blocks\JoinBlock.cs (1)
826
DataflowMessageStatus ITargetBlock<T>.
OfferMessage
(DataflowMessageHeader messageHeader, T messageValue, ISourceBlock<T>? source, bool consumeToAccept)
Blocks\TransformBlock.cs (1)
371
DataflowMessageStatus ITargetBlock<TInput>.
OfferMessage
(DataflowMessageHeader messageHeader, TInput messageValue, ISourceBlock<TInput>? source, bool consumeToAccept)
Blocks\TransformManyBlock.cs (1)
577
DataflowMessageStatus ITargetBlock<TInput>.
OfferMessage
(DataflowMessageHeader messageHeader, TInput messageValue, ISourceBlock<TInput>? source, bool consumeToAccept)
Blocks\WriteOnceBlock.cs (1)
347
DataflowMessageStatus ITargetBlock<T>.
OfferMessage
(DataflowMessageHeader messageHeader, T messageValue, ISourceBlock<T>? source, bool consumeToAccept)
Internal\TargetRegistry.cs (1)
321
DataflowMessageStatus ITargetBlock<T>.
OfferMessage
(DataflowMessageHeader messageHeader, T messageValue, ISourceBlock<T>? source, bool consumeToAccept)
12 references to OfferMessage
System.Threading.Tasks.Dataflow (12)
Base\DataflowBlock.cs (5)
162
return _target.
OfferMessage
(messageHeader, messageValue, this, consumeToAccept);
262
return target.
OfferMessage
(Common.SingleMessageHeader, item, source: null, consumeToAccept: false) == DataflowMessageStatus.Accepted;
324
switch (target.
OfferMessage
(Common.SingleMessageHeader, item, source: null, consumeToAccept: false))
593
switch (_target.
OfferMessage
(
1594
return _target.
OfferMessage
(messageHeader, messageValue, source, consumeToAccept);
Blocks\BroadcastBlock.cs (2)
693
DataflowMessageStatus result = target.
OfferMessage
(new DataflowMessageHeader(_nextMessageId), currentMessage!, _owningSource, consumeToAccept: useCloning);
798
switch (target.
OfferMessage
(header, message, _owningSource, consumeToAccept: useCloning))
Blocks\WriteOnceBlock.cs (3)
333
target.
OfferMessage
(_header, _value!, this, consumeToAccept: useCloning);
439
target.
OfferMessage
(_header, _value!, this, consumeToAccept: useCloning);
475
target.
OfferMessage
(_header, _value!, this, consumeToAccept: useCloning);
Internal\SourceCore.cs (1)
677
DataflowMessageStatus result = target.
OfferMessage
(header, message, _owningSource, consumeToAccept: false);
Internal\TargetRegistry.cs (1)
324
return _target.
OfferMessage
(messageHeader, messageValue, this, consumeToAccept);