Επεξεργασία

Κοινή χρήση μέσω


OrderablePartitioner<TSource>(Boolean, Boolean, Boolean) Constructor

Definition

Called from constructors in derived classes to initialize the OrderablePartitioner<TSource> class with the specified constraints on the index keys.

protected:
 OrderablePartitioner(bool keysOrderedInEachPartition, bool keysOrderedAcrossPartitions, bool keysNormalized);
protected OrderablePartitioner (bool keysOrderedInEachPartition, bool keysOrderedAcrossPartitions, bool keysNormalized);
new System.Collections.Concurrent.OrderablePartitioner<'Source> : bool * bool * bool -> System.Collections.Concurrent.OrderablePartitioner<'Source>
Protected Sub New (keysOrderedInEachPartition As Boolean, keysOrderedAcrossPartitions As Boolean, keysNormalized As Boolean)

Parameters

keysOrderedInEachPartition
Boolean

Indicates whether the elements in each partition are yielded in the order of increasing keys.

keysOrderedAcrossPartitions
Boolean

Indicates whether elements in an earlier partition always come before elements in a later partition. If true, each element in partition 0 has a smaller order key than any element in partition 1, each element in partition 1 has a smaller order key than any element in partition 2, and so on.

keysNormalized
Boolean

Indicates whether keys are normalized. If true, all order keys are distinct integers in the range [0 .. numberOfElements-1]. If false, order keys must still be distinct, but only their relative order is considered, not their absolute values.

Remarks

For more information, see Custom Partitioners for PLINQ and TPL.

Applies to

See also