Table of Contents

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

valuesSourceType Type

The type of the class that provides the values for a combinatorial test.

arguments object[]

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

parameter ParameterInfo

The parameter to get values for.

Returns

object[]

An array of values.