Table of Contents

Struct RewardSet.Comparer

Namespace
Nekoyume.Model.Coupons
Assembly
Lib9c.dll
public struct RewardSet.Comparer : IComparer<RewardSet>
Implements
Inherited Members

Methods

Compare(RewardSet, RewardSet)

Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.

public int Compare(RewardSet x, RewardSet y)

Parameters

x RewardSet

The first object to compare.

y RewardSet

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.