Class AbstractMethodMessageHandler<T>.MatchComparer
- Namespace
- Steeltoe.Messaging.Handler.Invocation
- Assembly
- Steeltoe.Messaging.MessagingBase.dll
protected class AbstractMethodMessageHandler<T>.MatchComparer : IComparer<AbstractMethodMessageHandler<T>.Match>
- Inheritance
-
AbstractMethodMessageHandler<T>.MatchComparer
- Implements
- Inherited Members
Constructors
MatchComparer(IComparer<T>)
public MatchComparer(IComparer<T> comparator)
Parameters
comparatorIComparer<T>
Methods
Compare(Match, Match)
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
public int Compare(AbstractMethodMessageHandler<T>.Match x, AbstractMethodMessageHandler<T>.Match y)
Parameters
xAbstractMethodMessageHandler<T>.MatchThe first object to compare.
yAbstractMethodMessageHandler<T>.MatchThe second object to compare.
Returns
- int
A signed integer that indicates the relative values of
xandy, as shown in the following table.Value Meaning Less than zero xis less thany.Zero xequalsy.Greater than zero xis greater thany.