ValuesAttribute is used to provide literal arguments for an individual parameter of a test.
More...
|
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 More...
|
|
|
IEnumerable | GetData (Type targetType) |
|
ValuesAttribute is used to provide literal arguments for an individual parameter of a test.
NUnit.Framework.ValuesAttribute.ValuesAttribute |
( |
| ) |
|
|
inline |
Constructs for use with an Enum parameter. Will pass every enum value in to the test.
NUnit.Framework.ValuesAttribute.ValuesAttribute |
( |
object |
arg1 | ) |
|
|
inline |
Construct with one argument
- Parameters
-
NUnit.Framework.ValuesAttribute.ValuesAttribute |
( |
object |
arg1, |
|
|
object |
arg2 |
|
) |
| |
|
inline |
Construct with two arguments
- Parameters
-
NUnit.Framework.ValuesAttribute.ValuesAttribute |
( |
object |
arg1, |
|
|
object |
arg2, |
|
|
object |
arg3 |
|
) |
| |
|
inline |
Construct with three arguments
- Parameters
-
NUnit.Framework.ValuesAttribute.ValuesAttribute |
( |
params object[] |
args | ) |
|
|
inline |
Construct with an array of arguments
- Parameters
-
IEnumerable NUnit.Framework.ValuesAttribute.GetData |
( |
IParameterInfo |
parameter | ) |
|
|
inline |
IEnumerable NUnit.Framework.ValuesAttribute.GetData |
( |
Type |
targetType | ) |
|
|
inlineprivate |
object [] NUnit.Framework.ValuesAttribute.data |
|
protected |
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
The documentation for this class was generated from the following file: