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.RandomAttribute.EnumDataSource Class Reference
+ Inheritance diagram for NUnit.Framework.RandomAttribute.EnumDataSource:
+ Collaboration diagram for NUnit.Framework.RandomAttribute.EnumDataSource:

Public Member Functions

 EnumDataSource (int count)
 
override IEnumerable GetData (IParameterInfo parameter)
 Gets an enumeration of data items for use as arguments for a test method parameter. More...
 

Private Attributes

int _count
 

Additional Inherited Members

- Properties inherited from NUnit.Framework.RandomAttribute.RandomDataSource
Type DataType [get, protected set]
 

Constructor & Destructor Documentation

NUnit.Framework.RandomAttribute.EnumDataSource.EnumDataSource ( int  count)
inline

Member Function Documentation

override IEnumerable NUnit.Framework.RandomAttribute.EnumDataSource.GetData ( IParameterInfo  parameter)
inlinevirtual

Gets an enumeration of data items for use as arguments for a test method parameter.

Parameters
parameterThe parameter for which data is needed
Returns
An enumeration containing individual data items

Implements NUnit.Framework.RandomAttribute.RandomDataSource.

References NUnit.Framework.Internal.Randomizer.GetRandomizer(), NUnit.Framework.Internal.Randomizer.NextEnum(), NUnit.Framework.Interfaces.IParameterInfo.ParameterInfo, and NUnit.Framework.Interfaces.IParameterInfo.ParameterType.

Member Data Documentation

int NUnit.Framework.RandomAttribute.EnumDataSource._count
private

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