<PackageReference Include="NUnit" Version="3.13.1" />

ValuesAttribute

Provides literal arguments for an individual parameter of a test.
protected object[] data

The collection of data to be returned. Must be set by any derived attribute classes. We use an object[] so that the individual elements may have their type changed in GetData if necessary

public ValuesAttribute()

Constructs for use with an Enum parameter. Will pass every enum value in to the test.

public ValuesAttribute(object arg1)

Construct with one argument

public ValuesAttribute(object arg1, object arg2)

Construct with two arguments

public ValuesAttribute(object arg1, object arg2, object arg3)

Construct with three arguments

public ValuesAttribute(object[] args)

Construct with an array of arguments

Retrieves a list of arguments which can be passed to the specified parameter.