Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

OrderComparator Class

Comparator implementation for IOrdered objects, sorting by order value ascending (resp. by priority descending).

For a list of all members of this type, see OrderComparator Members .

System.Object
   OrderComparator

[Visual Basic]
<Serializable> _
Public Class OrderComparator
    Implements IComparer
[C#]
[Serializable]
public class OrderComparator : IComparer

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Non-IOrdered objects are treated as greatest order values, thus ending up at the end of a list, in arbitrary order (just like same order values of IOrdered objects).

Requirements

Namespace: Spring.Core

Assembly: Spring.Core (in Spring.Core.dll)

See Also

OrderComparator Members | Spring.Core Namespace