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.RandomDataSource< T > Class Template Referenceabstract
+ Inheritance diagram for NUnit.Framework.RandomAttribute.RandomDataSource< T >:
+ Collaboration diagram for NUnit.Framework.RandomAttribute.RandomDataSource< T >:

Public Member Functions

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

Protected Member Functions

 RandomDataSource (int count)
 
 RandomDataSource (T min, T max, int count)
 
abstract T GetNext ()
 
abstract T GetNext (T min, T max)
 

Protected Attributes

Randomizer _randomizer
 

Private Attributes

_min
 
_max
 
int _count
 
bool _inRange
 

Additional Inherited Members

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

Constructor & Destructor Documentation

NUnit.Framework.RandomAttribute.RandomDataSource< T >.RandomDataSource ( min,
max,
int  count 
)
inlineprotected

Member Function Documentation

override IEnumerable NUnit.Framework.RandomAttribute.RandomDataSource< T >.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(), and NUnit.Framework.Interfaces.IParameterInfo.ParameterInfo.

abstract T NUnit.Framework.RandomAttribute.RandomDataSource< T >.GetNext ( min,
max 
)
protectedpure virtual

Member Data Documentation


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