Redigera

Dela via


TransformManyBlock<TInput,TOutput> Constructors

Definition

Overloads

TransformManyBlock<TInput,TOutput>(Func<TInput,IAsyncEnumerable<TOutput>>)

Initializes the TransformManyBlock<TInput,TOutput> with the specified function.

TransformManyBlock<TInput,TOutput>(Func<TInput,IEnumerable<TOutput>>)

Initializes a new TransformManyBlock<TInput,TOutput> with the specified function.

TransformManyBlock<TInput,TOutput>(Func<TInput,Task<IEnumerable<TOutput>>>)

Initializes a new TransformManyBlock<TInput,TOutput> with the specified function.

TransformManyBlock<TInput,TOutput>(Func<TInput,IAsyncEnumerable<TOutput>>, ExecutionDataflowBlockOptions)

Initializes the TransformManyBlock<TInput,TOutput> with the specified function and ExecutionDataflowBlockOptions.

TransformManyBlock<TInput,TOutput>(Func<TInput,IEnumerable<TOutput>>, ExecutionDataflowBlockOptions)

Initializes a new TransformManyBlock<TInput,TOutput> with the specified function and ExecutionDataflowBlockOptions.

TransformManyBlock<TInput,TOutput>(Func<TInput,Task<IEnumerable<TOutput>>>, ExecutionDataflowBlockOptions)

Initializes a new TransformManyBlock<TInput,TOutput> with the specified function and ExecutionDataflowBlockOptions.

TransformManyBlock<TInput,TOutput>(Func<TInput,IAsyncEnumerable<TOutput>>)

Source:
TransformManyBlock.IAsyncEnumerable.cs
Source:
TransformManyBlock.IAsyncEnumerable.cs
Source:
TransformManyBlock.IAsyncEnumerable.cs
Source:
TransformManyBlock.IAsyncEnumerable.cs

Initializes the TransformManyBlock<TInput,TOutput> with the specified function.

public:
 TransformManyBlock(Func<TInput, System::Collections::Generic::IAsyncEnumerable<TOutput> ^> ^ transform);
public TransformManyBlock (Func<TInput,System.Collections.Generic.IAsyncEnumerable<TOutput>> transform);
new System.Threading.Tasks.Dataflow.TransformManyBlock<'Input, 'Output> : Func<'Input, System.Collections.Generic.IAsyncEnumerable<'Output>> -> System.Threading.Tasks.Dataflow.TransformManyBlock<'Input, 'Output>
Public Sub New (transform As Func(Of TInput, IAsyncEnumerable(Of TOutput)))

Parameters

transform
Func<TInput,IAsyncEnumerable<TOutput>>

The function to invoke with each data element received. All of the data from the returned IAsyncEnumerable<T> will be made available as output from this TransformManyBlock<TInput,TOutput>.

Exceptions

The transform is null.

Applies to

TransformManyBlock<TInput,TOutput>(Func<TInput,IEnumerable<TOutput>>)

Source:
TransformManyBlock.cs
Source:
TransformManyBlock.cs
Source:
TransformManyBlock.cs
Source:
TransformManyBlock.cs

Initializes a new TransformManyBlock<TInput,TOutput> with the specified function.

public:
 TransformManyBlock(Func<TInput, System::Collections::Generic::IEnumerable<TOutput> ^> ^ transform);
public TransformManyBlock (Func<TInput,System.Collections.Generic.IEnumerable<TOutput>> transform);
new System.Threading.Tasks.Dataflow.TransformManyBlock<'Input, 'Output> : Func<'Input, seq<'Output>> -> System.Threading.Tasks.Dataflow.TransformManyBlock<'Input, 'Output>
Public Sub New (transform As Func(Of TInput, IEnumerable(Of TOutput)))

Parameters

transform
Func<TInput,IEnumerable<TOutput>>

The function to invoke with each data element received. All of the data from the returned IEnumerable<T> will be made available as output from this TransformManyBlock<TInput,TOutput>.

Exceptions

The transform is null.

Applies to

TransformManyBlock<TInput,TOutput>(Func<TInput,Task<IEnumerable<TOutput>>>)

Source:
TransformManyBlock.cs
Source:
TransformManyBlock.cs
Source:
TransformManyBlock.cs
Source:
TransformManyBlock.cs

Initializes a new TransformManyBlock<TInput,TOutput> with the specified function.

public:
 TransformManyBlock(Func<TInput, System::Threading::Tasks::Task<System::Collections::Generic::IEnumerable<TOutput> ^> ^> ^ transform);
public TransformManyBlock (Func<TInput,System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<TOutput>>> transform);
new System.Threading.Tasks.Dataflow.TransformManyBlock<'Input, 'Output> : Func<'Input, System.Threading.Tasks.Task<seq<'Output>>> -> System.Threading.Tasks.Dataflow.TransformManyBlock<'Input, 'Output>
Public Sub New (transform As Func(Of TInput, Task(Of IEnumerable(Of TOutput))))

Parameters

transform
Func<TInput,Task<IEnumerable<TOutput>>>

The function to invoke with each data element received. All of the data asynchronously returned in the IEnumerable<T> will be made available as output from this TransformManyBlock<TInput,TOutput>.

Exceptions

The transform is null.

Applies to

TransformManyBlock<TInput,TOutput>(Func<TInput,IAsyncEnumerable<TOutput>>, ExecutionDataflowBlockOptions)

Source:
TransformManyBlock.IAsyncEnumerable.cs
Source:
TransformManyBlock.IAsyncEnumerable.cs
Source:
TransformManyBlock.IAsyncEnumerable.cs
Source:
TransformManyBlock.IAsyncEnumerable.cs

Initializes the TransformManyBlock<TInput,TOutput> with the specified function and ExecutionDataflowBlockOptions.

public:
 TransformManyBlock(Func<TInput, System::Collections::Generic::IAsyncEnumerable<TOutput> ^> ^ transform, System::Threading::Tasks::Dataflow::ExecutionDataflowBlockOptions ^ dataflowBlockOptions);
public TransformManyBlock (Func<TInput,System.Collections.Generic.IAsyncEnumerable<TOutput>> transform, System.Threading.Tasks.Dataflow.ExecutionDataflowBlockOptions dataflowBlockOptions);
new System.Threading.Tasks.Dataflow.TransformManyBlock<'Input, 'Output> : Func<'Input, System.Collections.Generic.IAsyncEnumerable<'Output>> * System.Threading.Tasks.Dataflow.ExecutionDataflowBlockOptions -> System.Threading.Tasks.Dataflow.TransformManyBlock<'Input, 'Output>
Public Sub New (transform As Func(Of TInput, IAsyncEnumerable(Of TOutput)), dataflowBlockOptions As ExecutionDataflowBlockOptions)

Parameters

transform
Func<TInput,IAsyncEnumerable<TOutput>>

The function to invoke with each data element received. All of the data from the returned IAsyncEnumerable<T> will be made available as output from this TransformManyBlock<TInput,TOutput>.

dataflowBlockOptions
ExecutionDataflowBlockOptions

The options with which to configure this TransformManyBlock<TInput,TOutput>.

Exceptions

The transform or dataflowBlockOptions is null.

Applies to

TransformManyBlock<TInput,TOutput>(Func<TInput,IEnumerable<TOutput>>, ExecutionDataflowBlockOptions)

Source:
TransformManyBlock.cs
Source:
TransformManyBlock.cs
Source:
TransformManyBlock.cs
Source:
TransformManyBlock.cs

Initializes a new TransformManyBlock<TInput,TOutput> with the specified function and ExecutionDataflowBlockOptions.

public:
 TransformManyBlock(Func<TInput, System::Collections::Generic::IEnumerable<TOutput> ^> ^ transform, System::Threading::Tasks::Dataflow::ExecutionDataflowBlockOptions ^ dataflowBlockOptions);
public TransformManyBlock (Func<TInput,System.Collections.Generic.IEnumerable<TOutput>> transform, System.Threading.Tasks.Dataflow.ExecutionDataflowBlockOptions dataflowBlockOptions);
new System.Threading.Tasks.Dataflow.TransformManyBlock<'Input, 'Output> : Func<'Input, seq<'Output>> * System.Threading.Tasks.Dataflow.ExecutionDataflowBlockOptions -> System.Threading.Tasks.Dataflow.TransformManyBlock<'Input, 'Output>
Public Sub New (transform As Func(Of TInput, IEnumerable(Of TOutput)), dataflowBlockOptions As ExecutionDataflowBlockOptions)

Parameters

transform
Func<TInput,IEnumerable<TOutput>>

The function to invoke with each data element received. All of the data from the returned in the IEnumerable<T> will be made available as output from this TransformManyBlock<TInput,TOutput>.

dataflowBlockOptions
ExecutionDataflowBlockOptions

The options with which to configure this TransformManyBlock<TInput,TOutput>.

Exceptions

The transform is null.

-or-

The dataflowBlockOptions is null.

Applies to

TransformManyBlock<TInput,TOutput>(Func<TInput,Task<IEnumerable<TOutput>>>, ExecutionDataflowBlockOptions)

Source:
TransformManyBlock.cs
Source:
TransformManyBlock.cs
Source:
TransformManyBlock.cs
Source:
TransformManyBlock.cs

Initializes a new TransformManyBlock<TInput,TOutput> with the specified function and ExecutionDataflowBlockOptions.

public:
 TransformManyBlock(Func<TInput, System::Threading::Tasks::Task<System::Collections::Generic::IEnumerable<TOutput> ^> ^> ^ transform, System::Threading::Tasks::Dataflow::ExecutionDataflowBlockOptions ^ dataflowBlockOptions);
public TransformManyBlock (Func<TInput,System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<TOutput>>> transform, System.Threading.Tasks.Dataflow.ExecutionDataflowBlockOptions dataflowBlockOptions);
new System.Threading.Tasks.Dataflow.TransformManyBlock<'Input, 'Output> : Func<'Input, System.Threading.Tasks.Task<seq<'Output>>> * System.Threading.Tasks.Dataflow.ExecutionDataflowBlockOptions -> System.Threading.Tasks.Dataflow.TransformManyBlock<'Input, 'Output>
Public Sub New (transform As Func(Of TInput, Task(Of IEnumerable(Of TOutput))), dataflowBlockOptions As ExecutionDataflowBlockOptions)

Parameters

transform
Func<TInput,Task<IEnumerable<TOutput>>>

The function to invoke with each data element received. All of the data asynchronously returned in the IEnumerable<T> will be made available as output from this TransformManyBlock<TInput,TOutput>.

dataflowBlockOptions
ExecutionDataflowBlockOptions

The options with which to configure this TransformManyBlock<TInput,TOutput>.

Exceptions

The transform is null.

-or-

The dataflowBlockOptions is null.

Applies to