Class CombinatorialClassDataAttribute
- Namespace
- Xunit
- Assembly
- Xunit.Combinatorial.dll
Specifies a class that provides the values for a combinatorial test.
public class CombinatorialClassDataAttribute : Attribute, _Attribute, ICombinatorialValuesProvider
- Inheritance
-
CombinatorialClassDataAttribute
- Implements
- Inherited Members
Constructors
CombinatorialClassDataAttribute(Type, params object[]?)
Initializes a new instance of the CombinatorialClassDataAttribute class.
public CombinatorialClassDataAttribute(Type valuesSourceType, params object[]? arguments)
Parameters
valuesSourceTypeTypeThe type of the class that provides the values for a combinatorial test.
argumentsobject[]The arguments to pass to the constructor of
valuesSourceType.
Methods
GetValues(ParameterInfo)
Gets the values that should be passed to this parameter on the test method.
public object?[] GetValues(ParameterInfo parameter)
Parameters
parameterParameterInfoThe parameter to get values for.
Returns
- object[]
An array of values.