Table of Contents

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

comparator IComparer<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

x AbstractMethodMessageHandler<T>.Match

The first object to compare.

y AbstractMethodMessageHandler<T>.Match

The second object to compare.

Returns

int

A signed integer that indicates the relative values of x and y, as shown in the following table.

Value Meaning
Less than zerox is less than y.
Zerox equals y.
Greater than zerox is greater than y.