ParallelismOption Enum

Summary

Represents XUnit2's options for parallel test execution
Namespace
Cake.Common.Tools.XUnit
Interfaces
  • IComparable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["IFormattable"] Type-.->Interface2["IConvertible"] Type["ParallelismOption"] class Type type-node

Syntax

public enum ParallelismOption

Fields

Name Constant Value Summary
All 3
Parallelize assemblies and collections.
static
Assemblies 2
Only parallelize assemblies
static
Collections 1
Only parallelize collections
static
None 0
Turn off all parallelization
static

Extension Methods

Name Value Summary
Dump<ParallelismOption>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<ParallelismOption>(ParallelismOption[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
ThrowIfNull<ParallelismOption>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<ParallelismOption>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin