Summer.Batch.Infrastructure.Item.IItemProcessor< in in TIn, out out TOut > Interface Template Reference

Item processor. This is where item given as input (TIn) is being processed to be transformed into the output (TOut). Input and Output types can be different. Convention: Returning null indicates that this item should not be continued to be processed. More...

Public Member Functions

TOut Process (TIn item)
 Process the provided item, returning a potentially modified or new item for continued processing. If the returned result is null, it is assumed that processing of the item should not continue. More...
 

Detailed Description

Item processor. This is where item given as input (TIn) is being processed to be transformed into the output (TOut). Input and Output types can be different. Convention: Returning null indicates that this item should not be continued to be processed.

Template Parameters
TIn 
TOut 
Type Constraints
TIn :class 
TOut :class 

Member Function Documentation

TOut Summer.Batch.Infrastructure.Item.IItemProcessor< in in TIn, out out TOut >.Process ( TIn  item)

Process the provided item, returning a potentially modified or new item for continued processing. If the returned result is null, it is assumed that processing of the item should not continue.

Parameters
item
Returns
Exceptions
Exception 

The documentation for this interface was generated from the following file:
  • Summer.Batch.Infrastructure/Item/IItemProcessor.cs