語言

Partitioner 類別

定義

提供陣列、清單及可枚舉的常見分割策略。

public ref class Partitioner abstract sealed
public static class Partitioner
type Partitioner = class
Public Class Partitioner
繼承
Partitioner

備註

如需詳細資訊,請參閱 PLINQ 和 TPL 的自定義分割器。

方法

名稱 Description
Create(Int32, Int32, Int32)

建立一個分割器,將使用者指定的範圍分割成區塊。

Create(Int32, Int32)

建立一個分割器,將使用者指定的範圍分割成區塊。

Create(Int64, Int64, Int64)

建立一個分割器,將使用者指定的範圍分割成區塊。

Create(Int64, Int64)

建立一個分割器,將使用者指定的範圍分割成區塊。

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

從實 IEnumerable<T> 例建立可排序的分割器。

Create<TSource>(IEnumerable<TSource>)

從實 IEnumerable<T> 例建立可排序的分割器。

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

從實 IList<T> 例建立一個可排序的分割器。

Create<TSource>(TSource[], Boolean)

從實 Array 例建立可排序的分割器。

適用於

另請參閱