Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

OrderComparator.CompareEqualOrder Method

Handle the case when both objects have equal sort order priority. By default returns 0, but may be overriden for handling special cases.

[Visual Basic]
Protected Overridable Sub CompareEqualOrder( _
   ByVal o1 As Object, _
   ByVal o2 As Object _
)
[C#]
protected virtual int CompareEqualOrder(
   object o1,
   object o2
);

Parameters

o1
The first object to compare.
o2
The second object to compare.

Return Value

-1 if first object is less then second, 1 if it is greater, or 0 if they are equal.

See Also

OrderComparator Class | Spring.Core Namespace