Summer.Batch.Infrastructure.Item.Support.ListItemReader< T > Class Template Reference
Simple item reader that pulls its data from a supplied list. More...
Inheritance diagram for Summer.Batch.Infrastructure.Item.Support.ListItemReader< T >:
Public Member Functions | |
ListItemReader (IEnumerable< T > list) | |
Constructor with the list supplying the read elements. More... | |
T | Read () |
Reads at each call the next item in the list. More... | |
Public Member Functions inherited from Summer.Batch.Infrastructure.Item.IItemReader< T > | |
T | Read () |
Reads a piece of input data and advance to the next one. Implementations must return null at the end of the input data set. In a transactional setting, caller might get the same item twice from successive calls (or otherwise), if the first call was in a transaction that rolled back. More... | |
Detailed Description
Simple item reader that pulls its data from a supplied list.
- Template Parameters
-
T
- Type Constraints
-
T : class
Constructor & Destructor Documentation
Summer.Batch.Infrastructure.Item.Support.ListItemReader< T >.ListItemReader | ( | IEnumerable< T > | list | ) |
Constructor with the list supplying the read elements.
- Parameters
-
list
Member Function Documentation
T Summer.Batch.Infrastructure.Item.Support.ListItemReader< T >.Read | ( | ) |
Reads at each call the next item in the list.
- Returns
- the next item in the list
The documentation for this class was generated from the following file:
- Summer.Batch.Infrastructure/Item/Support/ListItemReader.cs