WriteOnceBlock<T> Constructor (Func<T, T>)

.NET Framework (current version)

Initializes a new WriteOnceBlock<T>.

Namespace:  System.Threading.Tasks.Dataflow
Assembly:  System.Threading.Tasks.Dataflow (in System.Threading.Tasks.Dataflow.dll)

public WriteOnceBlock(
	Func<T, T> cloningFunction
)

Parameters

cloningFunction
Type: System.Func<T, T>

The function to use to clone the data when offered to other blocks.

.NET Framework

Supported in: 4.5

Portable Class Library

Supported in: Portable Class Library
Show: