C# Class Nexus.Client.Plugins.FilenamePluginComparer

Compares Plugins based on their Plugin.Filenames.
In the constext of this comparer, Plugins are strictly ordered by their ordinally case-insensitive Plugin.Filenames.
Inheritance: PluginComparer
Show file Open project: NexusMods/NexusModManager-4.5

Public Methods

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

Compares the given Plugins.

GetHashCode ( Plugin obj ) : int

Gets the hashcode to use for the given Plugin.

Method Details

Compare() public method

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

GetHashCode() public method

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