Redigera

Dela via


Partitioner Class

Definition

Provides common partitioning strategies for arrays, lists, and enumerables.

public ref class Partitioner abstract sealed
public static class Partitioner
type Partitioner = class
Public Class Partitioner
Inheritance
Partitioner

Remarks

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

Methods

Create(Int32, Int32, Int32)

Creates a partitioner that chunks the user-specified range.

Create(Int32, Int32)

Creates a partitioner that chunks the user-specified range.

Create(Int64, Int64, Int64)

Creates a partitioner that chunks the user-specified range.

Create(Int64, Int64)

Creates a partitioner that chunks the user-specified range.

Create<TSource>(IEnumerable<TSource>, EnumerablePartitionerOptions)

Creates an orderable partitioner from a IEnumerable<T> instance.

Create<TSource>(IEnumerable<TSource>)

Creates an orderable partitioner from a IEnumerable<T> instance.

Create<TSource>(IList<TSource>, Boolean)

Creates an orderable partitioner from an IList<T> instance.

Create<TSource>(TSource[], Boolean)

Creates an orderable partitioner from a Array instance.

Applies to

See also