Table of Contents

Class SunamoComparer.TWithIntSunamoComparer<T>

Namespace
SunamoCompare
Assembly
SunamoCompare.dll

Comparer for TWithIntCompare objects based on their Count property.

public class SunamoComparer.TWithIntSunamoComparer<T> : ISunamoComparer<TWithIntCompare<T>>

Type Parameters

T

The type of the value in TWithIntCompare.

Inheritance
SunamoComparer.TWithIntSunamoComparer<T>
Implements
Inherited Members
Extension Methods

Methods

Asc(TWithIntCompare<T>, TWithIntCompare<T>)

Compares two TWithIntCompare objects by Count for ascending order sorting.

public int Asc(TWithIntCompare<T> firstValue, TWithIntCompare<T> secondValue)

Parameters

firstValue TWithIntCompare<T>

The first object to compare.

secondValue TWithIntCompare<T>

The second object to compare.

Returns

int

A comparison result for ascending order.

Desc(TWithIntCompare<T>, TWithIntCompare<T>)

Compares two TWithIntCompare objects by Count for descending order sorting.

public int Desc(TWithIntCompare<T> firstValue, TWithIntCompare<T> secondValue)

Parameters

firstValue TWithIntCompare<T>

The first object to compare.

secondValue TWithIntCompare<T>

The second object to compare.

Returns

int

A comparison result for descending order.