Summer.Batch.Infrastructure.Item.File.Transform.DelimitedLineAggregator< T > Class Template Reference
An implementation of T:ILineAggregator that converts an object into a delimited list of strings. The default delimiter is a comma. More...
Inheritance diagram for Summer.Batch.Infrastructure.Item.File.Transform.DelimitedLineAggregator< T >:
Public Member Functions | |
DelimitedLineAggregator () | |
Default constructor. More... | |
Public Member Functions inherited from Summer.Batch.Infrastructure.Item.File.Transform.ExtractorLineAggregator< T > | |
string | Aggregate (T item) |
Transforms an item into a line. More... | |
Public Member Functions inherited from Summer.Batch.Infrastructure.Item.File.Transform.ILineAggregator< T > | |
string | Aggregate (T item) |
Transforms an item into a line. More... | |
Protected Member Functions | |
override string | DoAggregate (object[] fields) |
Aggregates the extracted fields to a string. More... | |
Protected Member Functions inherited from Summer.Batch.Infrastructure.Item.File.Transform.ExtractorLineAggregator< T > | |
ExtractorLineAggregator () | |
Protected default constructor that defines PassThroughFieldExtractor as the default field extractor. More... | |
Properties | |
string | Delimiter [get, set] |
The delimiter to use. Default is ",". More... | |
Properties inherited from Summer.Batch.Infrastructure.Item.File.Transform.ExtractorLineAggregator< T > | |
IFieldExtractor< T > | FieldExtractor [get, set] |
The field extractor for the elements that are aggregated More... | |
Detailed Description
An implementation of T:ILineAggregator that converts an object into a delimited list of strings. The default delimiter is a comma.
- Template Parameters
-
T
- Type Constraints
-
T : class
Constructor & Destructor Documentation
Summer.Batch.Infrastructure.Item.File.Transform.DelimitedLineAggregator< T >.DelimitedLineAggregator | ( | ) |
Default constructor.
Member Function Documentation
|
protectedvirtual |
Aggregates the extracted fields to a string.
- Parameters
-
fields the extracted fields
- Returns
- the aggregated line
Implements Summer.Batch.Infrastructure.Item.File.Transform.ExtractorLineAggregator< T >.
Property Documentation
|
getset |
The delimiter to use. Default is ",".
The documentation for this class was generated from the following file:
- Summer.Batch.Infrastructure/Item/File/Transform/DelimitedLineAggregator.cs