IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NUnit.Framework.Interfaces.IParameterDataProvider Interface Reference

The IDataPointProvider interface is used by extensions that provide data for a single test parameter. More...

+ Inheritance diagram for NUnit.Framework.Interfaces.IParameterDataProvider:

Public Member Functions

bool HasDataFor (IParameterInfo parameter)
 Determine whether any data is available for a parameter. More...
 
IEnumerable GetDataFor (IParameterInfo parameter)
 Return an IEnumerable providing data for use with the supplied parameter. More...
 

Detailed Description

The IDataPointProvider interface is used by extensions that provide data for a single test parameter.

Member Function Documentation

bool NUnit.Framework.Interfaces.IParameterDataProvider.HasDataFor ( IParameterInfo  parameter)

Determine whether any data is available for a parameter.

Parameters
parameterAn IParameterInfo representing one argument to a parameterized test
Returns
True if any data is available, otherwise false.

Implemented in NUnit.Framework.Internal.Builders.ParameterDataProvider, NUnit.Framework.Internal.Builders.DatapointProvider, and NUnit.Framework.Internal.Builders.ParameterDataSourceProvider.

IEnumerable NUnit.Framework.Interfaces.IParameterDataProvider.GetDataFor ( IParameterInfo  parameter)

Return an IEnumerable providing data for use with the supplied parameter.

Parameters
parameterAn IParameterInfo representing one argument to a parameterized test
Returns
An IEnumerable providing the required data

Implemented in NUnit.Framework.Internal.Builders.DatapointProvider, NUnit.Framework.Internal.Builders.ParameterDataProvider, and NUnit.Framework.Internal.Builders.ParameterDataSourceProvider.

Referenced by NUnit.Framework.CombiningStrategyAttribute.BuildFrom().


The documentation for this interface was generated from the following file: