C# Class Summer.Batch.Extra.Sort.Legacy.Parser.ComparerParser

Parser for sort configuration cards that creates an IComparer{T}.
Inheritance: Summer.Batch.Extra.Sort.Legacy.Parser.AbstractParser
Afficher le fichier Open project: SummerBatch/SummerBatch Class Usage Examples

Méthodes publiques

Méthode Description
ComparerParser ( ) : System.Collections.Generic

Default constructor.

GetComparer ( string configuration ) : IComparer

Constructs a new IComparer{T} from a sort configuration card.

Private Methods

Méthode Description
ParseComparer ( Lexer lexer, string defaultFormat ) : IComparer

Parses an individual comparer.

ParseComparers ( Lexer lexer, string defaultFormat ) : IComparer

Parse all the individual comparers and combine them in a ComparerChain{T}.

Method Details

ComparerParser() public méthode

Default constructor.
public ComparerParser ( ) : System.Collections.Generic
Résultat System.Collections.Generic

GetComparer() public méthode

Constructs a new IComparer{T} from a sort configuration card.
public GetComparer ( string configuration ) : IComparer
configuration string the sort card
Résultat IComparer