C# Class Nexus.Client.Mods.FilenameModComparer

Compares IMods based on their IMod.Filenames.
In the constext of this comparer, IMods are strictly ordered by their ordinally case-insensitive IMod.Filenames.
Inheritance: ModComparer
Exibir arquivo Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
Compare ( IMod x, IMod y ) : int

Compares the given IMods.

GetHashCode ( IMod obj ) : int

Gets the hashcode to use for the given IMod.

Method Details

Compare() public method

Compares the given IMods.
public Compare ( IMod x, IMod y ) : int
x IMod An object to compare to another object.
y IMod An object to compare to another object.
return int

GetHashCode() public method

Gets the hashcode to use for the given IMod.
public GetHashCode ( IMod obj ) : int
obj IMod The whose hashcode is to be determined.
return int