Partitioner Partitioner Partitioner Partitioner Class

定義

提供陣列、清單和可列舉值的通用分割策略。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
繼承
PartitionerPartitionerPartitionerPartitioner

備註

如需詳細資訊,請參閱 PLINQ 和 TPL 的自訂 PartitionerFor more information, see Custom Partitioners for PLINQ and TPL.

方法

Create(Int32, Int32) Create(Int32, Int32) Create(Int32, Int32) Create(Int32, Int32)

建立會將使用者指定的範圍分割為區塊的 Partitioner。Creates a partitioner that chunks the user-specified range.

Create(Int64, Int64) Create(Int64, Int64) Create(Int64, Int64) Create(Int64, Int64)

建立會將使用者指定的範圍分割為區塊的 Partitioner。Creates a partitioner that chunks the user-specified range.

Create(Int32, Int32, Int32) Create(Int32, Int32, Int32) Create(Int32, Int32, Int32) Create(Int32, Int32, Int32)

建立會將使用者指定的範圍分割為區塊的 Partitioner。Creates a partitioner that chunks the user-specified range.

Create(Int64, Int64, Int64) Create(Int64, Int64, Int64) Create(Int64, Int64, Int64) Create(Int64, Int64, Int64)

建立會將使用者指定的範圍分割為區塊的 Partitioner。Creates a partitioner that chunks the user-specified range.

Create<TSource>(IEnumerable<TSource>) Create<TSource>(IEnumerable<TSource>) Create<TSource>(IEnumerable<TSource>) Create<TSource>(IEnumerable<TSource>)

IEnumerable<T> 執行個體建立可排序的 Partitioner。Creates an orderable partitioner from a IEnumerable<T> instance.

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

IEnumerable<T> 執行個體建立可排序的 Partitioner。Creates an orderable partitioner from a IEnumerable<T> instance.

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

IList<T> 執行個體建立可排序的 Partitioner。Creates an orderable partitioner from an IList<T> instance.

Create<TSource>(TSource[], Boolean) Create<TSource>(TSource[], Boolean) Create<TSource>(TSource[], Boolean) Create<TSource>(TSource[], Boolean)

Array 執行個體建立可排序的 Partitioner。Creates an orderable partitioner from a Array instance.

適用於

另請參閱