Interface IParameterDataProvider
Provides data for a single test parameter.
Namespace: NUnit.Framework.Interfaces
Assembly: nunit.framework.dll
Syntax
public interface IParameterDataProvider
Methods
View SourceGetDataFor(IParameterInfo)
Retrieves a list of arguments which can be passed to the specified parameter.
Declaration
IEnumerable GetDataFor(IParameterInfo parameter)
Parameters
| Type | Name | Description |
|---|---|---|
| IParameterInfo | parameter | The parameter of a parameterized test. |
Returns
| Type | Description |
|---|---|
| IEnumerable |
HasDataFor(IParameterInfo)
Determines whether any data is available for a parameter.
Declaration
bool HasDataFor(IParameterInfo parameter)
Parameters
| Type | Name | Description |
|---|---|---|
| IParameterInfo | parameter | The parameter of a parameterized test. |
Returns
| Type | Description |
|---|---|
| bool |