System::IEnumerableDefaultAdapter< T > Class Template Reference

Adapter to use IEnumerable in STL-like iterations. Used by NUnit TestCaseSource attribute translation. More...

Inherits System::IEnumerableAdapter< T, T >.

Public Member Functions

 IEnumerableDefaultAdapter (const System::SharedPtr< System::Collections::Generic::IEnumerable< T >> &data)
 Constructs wrapper around existing C#-style container. More...
 
- Public Member Functions inherited from System::IEnumerableAdapter< T, T >
 IEnumerableAdapter ()
 Constructs empty wrapper. More...
 
 IEnumerableAdapter (const System::SharedPtr< System::Collections::Generic::IEnumerable< T >> &data)
 Constructs wrapper around existing C#-style container. More...
 
IEnumeratorIterator< T, T > begin () const
 Iteration begin. More...
 
IEnumeratorIterator< T, T > end () const
 Iteration end. More...
 

Additional Inherited Members

- Public Types inherited from System::IEnumerableAdapter< T, T >
using value_type = T
 Type of elements. More...
 
using const_iterator = IEnumeratorIterator< T, T >
 Iterator type. More...
 

Detailed Description

template<typename T>
class System::IEnumerableDefaultAdapter< T >

Adapter to use IEnumerable in STL-like iterations. Used by NUnit TestCaseSource attribute translation.

Template Parameters
TContainer of test method arguments.

Constructor & Destructor Documentation

◆ IEnumerableDefaultAdapter()

Constructs wrapper around existing C#-style container.

Parameters
dataContainer to wrap.