The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
DataflowBlock::AsObserver<TInput> Method (ITargetBlock<TInput>^)
Creates a new IObserver<T> abstraction over the ITargetBlock<TInput>.
Assembly: System.Threading.Tasks.Dataflow (in System.Threading.Tasks.Dataflow.dll)
public: generic<typename TInput> [ExtensionAttribute] static IObserver<TInput>^ AsObserver( ITargetBlock<TInput>^ target )
Parameters
- target
-
Type:
System.Threading.Tasks.Dataflow::ITargetBlock<TInput>^
The target to wrap.
Type Parameters
- TInput
Specifies the type of input accepted by the target block.
Show: