Class Choose
This class represents a choose expression that can choose one or more values. A lambda that contains choose expressions is evaluated multiple times such that each possible choice for each choose expression and all their combinations are exercised.
public class Choose
- Inheritance
-
Choose
- Inherited Members
Methods
Each<T>(IList<T>)
Choose each value from a set of values. Each value will be returned to the caller each time the method is invoked through the ChooseExpressionLambda.Run method.
public static T Each<T>(IList<T> values)
Parameters
valuesIList<T>
Returns
- T
Type Parameters
T
Each<T>(params T[])
Choose each value from a set of values. Each value will be returned to the caller each time the method is invoked through the ChooseExpressionLambda.Run method.
public static T Each<T>(params T[] values)
Parameters
valuesT[]
Returns
- T
Type Parameters
T