Class ChooseExpressionLambda
A choose expression lambda is a lambda that contains zero or more choose expressions. The Run method of this class can be used to run such a lambda. The lambda is invoked multiple times such that all combinations of all choose expressions are exercised.
public class ChooseExpressionLambda
- Inheritance
-
ChooseExpressionLambda
- Inherited Members
Methods
Run(Action)
Runs a choose expression lambda, enough times such that all combinations of choices of all its multi-valued expressions are chosen.
public static void Run(Action lambda)
Parameters
lambdaAction
Run<TResponse>(Func<TResponse>)
Runs a choose expression lambda that returns a response of type TResponse. Since the lambda can be invoked multiple times, this method returns an enumeration of the responses that result from calling it each time.
public static IEnumerable<TResponse> Run<TResponse>(Func<TResponse> lambda)
Parameters
lambdaFunc<TResponse>
Returns
- IEnumerable<TResponse>
Type Parameters
TResponse