HeroStats Libraries
TimedStatisticComparer.Compare Method 

[This is preliminary documentation and subject to change.]

Sorts TimedStatistic objects in ascending fashion by comparing the time values

[Visual Basic]
NotOverridable Public Function Compare( _
   ByVal x As Object, _
   ByVal y As Object _
) As Integer _
    Implements IComparer.Compare
[C#]
public int Compare(
   object x,
   object y
);

Parameters

x
LHS TimedStatistic object
y
RHS TimedStatistic object

Return Value

-1 if LHS < RHS, 1 if LHS > RHS, 0 if equal or if one or both parameters are not TimedStatistic objects

Implements

IComparer.Compare

See Also

TimedStatisticComparer Class | CityOfHeroes Namespace