Export (0) Print
Expand All

Partitioner Class

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

System.Object
  System.Collections.Concurrent.Partitioner

Namespace:  System.Collections.Concurrent
Assembly:  mscorlib (in mscorlib.dll)

[HostProtectionAttribute(SecurityAction.LinkDemand, Synchronization = true, 
	ExternalThreading = true)]
public static class Partitioner

  NameDescription
Public methodStatic memberSupported by Portable Class LibraryCreate(Int32, Int32)Creates a partitioner that chunks the user-specified range.
Public methodStatic memberSupported by Portable Class LibraryCreate(Int64, Int64)Creates a partitioner that chunks the user-specified range.
Public methodStatic memberSupported by Portable Class LibraryCreate(Int32, Int32, Int32)Creates a partitioner that chunks the user-specified range.
Public methodStatic memberSupported by Portable Class LibraryCreate(Int64, Int64, Int64)Creates a partitioner that chunks the user-specified range.
Public methodStatic memberSupported by Portable Class LibraryCreate<TSource>(IEnumerable<TSource>)Creates an orderable partitioner from a IEnumerable<T> instance.
Public methodStatic memberSupported by Portable Class LibraryCreate<TSource>(TSource[], Boolean)Creates an orderable partitioner from a Array instance.
Public methodStatic memberCreate<TSource>(IEnumerable<TSource>, EnumerablePartitionerOptions)Creates an orderable partitioner from a IEnumerable<T> instance.
Public methodStatic memberSupported by Portable Class LibraryCreate<TSource>(IList<TSource>, Boolean)Creates an orderable partitioner from an IList<T> instance.
Top

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

NoteNote

The HostProtectionAttribute attribute applied to this type or member has the following Resources property value: Synchronization | ExternalThreading. The HostProtectionAttribute does not affect desktop applications (which are typically started by double-clicking an icon, typing a command, or entering a URL in a browser). For more information, see the HostProtectionAttribute class or SQL Server Programming and Host Protection Attributes.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft