<Type Name="FiberContinuationOptions" FullName="SpicyPixel.Threading.FiberContinuationOptions">
  <TypeSignature Language="C#" Value="public enum FiberContinuationOptions" />
  <TypeSignature Language="ILAsm" Value=".class public auto ansi serializable sealed FiberContinuationOptions extends System.Enum" />
  <AssemblyInfo>
    <AssemblyName>SpicyPixel.Threading</AssemblyName>
    <AssemblyVersion>1.0.5.34676</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.Enum</BaseTypeName>
  </Base>
  <Attributes>
    <Attribute>
      <AttributeName>System.Flags</AttributeName>
    </Attribute>
  </Attributes>
  <Docs>
    <summary>
            Specifies the behavior for a fiber that is created by using the `Fiber.ContinueWith` method.
            </summary>
    <remarks>To be added.</remarks>
  </Docs>
  <Members>
    <Member MemberName="None">
      <MemberSignature Language="C#" Value="None" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype SpicyPixel.Threading.FiberContinuationOptions None = int32(0)" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5.34676</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>SpicyPixel.Threading.FiberContinuationOptions</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>
            When no continuation options are specified, default behavior should be used 
            to execute a continuation. The continuation runs asynchronously when the antecedent 
            completes, regardless of the antecedent's final Fiber.Status property value.
            </summary>
      </Docs>
    </Member>
    <Member MemberName="NotOnCanceled">
      <MemberSignature Language="C#" Value="NotOnCanceled" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype SpicyPixel.Threading.FiberContinuationOptions NotOnCanceled = int32(262144)" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5.34676</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>SpicyPixel.Threading.FiberContinuationOptions</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>
            The continuation should not be scheduled if its antecedent was canceled. An antecedent 
            is canceled if its Fiber.Status property upon completion is FiberStatus.Canceled. This option 
            is not valid for multi-fiber continuations.
            </summary>
      </Docs>
    </Member>
    <Member MemberName="NotOnFaulted">
      <MemberSignature Language="C#" Value="NotOnFaulted" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype SpicyPixel.Threading.FiberContinuationOptions NotOnFaulted = int32(131072)" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5.34676</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>SpicyPixel.Threading.FiberContinuationOptions</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>
            Specifies that the continuation should not be scheduled if its antecedent threw 
            an unhandled exception. An antecedent throws an unhandled exception if its Fiber.Status 
            property upon completion is FiberStatus.Faulted. This option is not valid for multi-fiber 
            continuations.
            </summary>
      </Docs>
    </Member>
    <Member MemberName="NotOnRanToCompletion">
      <MemberSignature Language="C#" Value="NotOnRanToCompletion" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype SpicyPixel.Threading.FiberContinuationOptions NotOnRanToCompletion = int32(65536)" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5.34676</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>SpicyPixel.Threading.FiberContinuationOptions</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>
            The continuation should not be scheduled if its antecedent ran to completion. 
            An antecedent runs to completion if its Fiber.Status property upon completion 
            is FiberStatus.RanToCompletion. This option is not valid for multi-fiber continuations.
            </summary>
      </Docs>
    </Member>
    <Member MemberName="OnlyOnCanceled">
      <MemberSignature Language="C#" Value="OnlyOnCanceled" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype SpicyPixel.Threading.FiberContinuationOptions OnlyOnCanceled = int32(196608)" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5.34676</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>SpicyPixel.Threading.FiberContinuationOptions</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>
            Specifies that the continuation should be scheduled only if its antecedent was canceled. 
            An antecedent is canceled if its Fiber.Status property upon completion is 
            FiberStatus.Canceled. This option is not valid for multi-fiber continuations.
            </summary>
      </Docs>
    </Member>
    <Member MemberName="OnlyOnFaulted">
      <MemberSignature Language="C#" Value="OnlyOnFaulted" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype SpicyPixel.Threading.FiberContinuationOptions OnlyOnFaulted = int32(327680)" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5.34676</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>SpicyPixel.Threading.FiberContinuationOptions</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>
             The continuation should be scheduled only if its antecedent threw an unhandled 
             exception. An antecedent throws an unhandled exception if its Fiber.Status property 
             upon completion is FiberStatus.Faulted.
            
             The OnlyOnFaulted option guarantees that the Fiber.Exception property in the antecedent 
             is not null. You can use that property to catch the exception and see which exception 
             caused the fiber to fault. If you do not access the Exception property, the exception 
             is unhandled. If you attempt to access the Result property of a fiber that has been 
             canceled or has faulted, a new exception is thrown.
            
             This option is not valid for multi-fiber continuations.
             </summary>
      </Docs>
    </Member>
    <Member MemberName="OnlyOnRanToCompletion">
      <MemberSignature Language="C#" Value="OnlyOnRanToCompletion" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype SpicyPixel.Threading.FiberContinuationOptions OnlyOnRanToCompletion = int32(393216)" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5.34676</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>SpicyPixel.Threading.FiberContinuationOptions</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>
            The continuation should be scheduled only if its antecedent ran to completion. 
            An antecedent runs to completion if its Fiber.Status property upon completion is 
            FiberStatus.RanToCompletion. This option is not valid for multi-fiber continuations.
            </summary>
      </Docs>
    </Member>
  </Members>
</Type>
