C# Класс Summer.Batch.Extra.Sort.Legacy.Parser.ComparerParser

Parser for sort configuration cards that creates an IComparer{T}.
Наследование: Summer.Batch.Extra.Sort.Legacy.Parser.AbstractParser
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ComparerParser ( ) : System.Collections.Generic

Default constructor.

GetComparer ( string configuration ) : IComparer

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

Приватные методы

Метод Описание
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}.

Описание методов

ComparerParser() публичный Метод

Default constructor.
public ComparerParser ( ) : System.Collections.Generic
Результат System.Collections.Generic

GetComparer() публичный Метод

Constructs a new IComparer{T} from a sort configuration card.
public GetComparer ( string configuration ) : IComparer
configuration string the sort card
Результат IComparer