Interface IParameterDataProvider
- Namespace
- NUnit.Framework.Interfaces
- Assembly
- nunit.framework.dll
The IDataPointProvider interface is used by extensions that provide data for a single test parameter.
public interface IParameterDataProvider
Methods
GetDataFor(ParameterInfo)
Return an IEnumerable providing data for use with the supplied parameter.
IEnumerable GetDataFor(ParameterInfo parameter)
Parameters
parameter
ParameterInfoA ParameterInfo representing one argument to a parameterized test
Returns
- IEnumerable
An IEnumerable providing the required data
HasDataFor(ParameterInfo)
Determine whether any data is available for a parameter.
bool HasDataFor(ParameterInfo parameter)
Parameters
parameter
ParameterInfoA ParameterInfo representing one argument to a parameterized test
Returns
- bool
True if any data is available, otherwise false.