1<?xml version="1.0" encoding="utf-8"?>
2<Type Name="EnumerablePartitionerOptions" FullName="System.Collections.Concurrent.EnumerablePartitionerOptions">
3  <TypeSignature Language="C#" Value="public enum EnumerablePartitionerOptions" />
4  <TypeSignature Language="ILAsm" Value=".class public auto ansi serializable sealed EnumerablePartitionerOptions extends System.Enum" />
5  <AssemblyInfo>
6    <AssemblyName>mscorlib</AssemblyName>
7    <AssemblyVersion>4.0.0.0</AssemblyVersion>
8  </AssemblyInfo>
9  <Base>
10    <BaseTypeName>System.Enum</BaseTypeName>
11  </Base>
12  <Attributes>
13    <Attribute>
14      <AttributeName>System.Flags</AttributeName>
15    </Attribute>
16  </Attributes>
17  <Docs>
18    <remarks>
19      <attribution license="cc4" from="Microsoft" modified="false" />
20      <para>Out-of-the-box partitioners are created with a set of default behaviors. For example, by default, some form of buffering and chunking will be used to achieve optimal performance in the common scenario where an <see cref="T:System.Collections.Generic.IEnumerable`1" /> implementation is fast and non-blocking. These behaviors can be overridden by this enumeration by using the <see cref="M:System.Collections.Concurrent.Partitioner.Create``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Concurrent.EnumerablePartitionerOptions)" /> method.</para>
21    </remarks>
22    <summary>
23      <attribution license="cc4" from="Microsoft" modified="false" />
24      <para>Specifies options to control the buffering behavior of a partitioner</para>
25    </summary>
26  </Docs>
27  <Members>
28    <Member MemberName="NoBuffering">
29      <MemberSignature Language="C#" Value="NoBuffering" />
30      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Collections.Concurrent.EnumerablePartitionerOptions NoBuffering = int32(1)" />
31      <MemberType>Field</MemberType>
32      <AssemblyInfo>
33        <AssemblyVersion>4.0.0.0</AssemblyVersion>
34      </AssemblyInfo>
35      <ReturnValue>
36        <ReturnType>System.Collections.Concurrent.EnumerablePartitionerOptions</ReturnType>
37      </ReturnValue>
38      <Docs>
39        <summary>
40          <attribution license="cc4" from="Microsoft" modified="false" />
41          <para>Create a partitioner that takes items from the source enumerable one at a time and does not use intermediate storage that can be accessed more efficiently by multiple threads. This option provides support for low latency (items will be processed as soon as they are available from the source) and provides partial support for dependencies between items (a thread cannot deadlock waiting for an item that the thread itself is responsible for processing).</para>
42        </summary>
43      </Docs>
44    </Member>
45    <Member MemberName="None">
46      <MemberSignature Language="C#" Value="None" />
47      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Collections.Concurrent.EnumerablePartitionerOptions None = int32(0)" />
48      <MemberType>Field</MemberType>
49      <AssemblyInfo>
50        <AssemblyVersion>4.0.0.0</AssemblyVersion>
51      </AssemblyInfo>
52      <ReturnValue>
53        <ReturnType>System.Collections.Concurrent.EnumerablePartitionerOptions</ReturnType>
54      </ReturnValue>
55      <Docs>
56        <summary>
57          <attribution license="cc4" from="Microsoft" modified="false" />
58          <para>Use the default behavior, which is to use buffering to achieve optimal performance.</para>
59        </summary>
60      </Docs>
61    </Member>
62  </Members>
63</Type>