C# Class Nexus.Client.ModManagement.ModMatcher

Finds matches for a given mod in a given set of mods.
Show file Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Public Methods

Method Description
FindAlternateVersion ( IMod p_modMod, bool p_booExistingOnly ) : IMod

This finds any mod in the candidate list that appears to be another version of the given mod.

ModMatcher ( IEnumerable p_enmModCandidates, bool p_booAssumeAllExist ) : System

A simple constructor that initializes the object with the given values.

Method Details

FindAlternateVersion() public method

This finds any mod in the candidate list that appears to be another version of the given mod.
public FindAlternateVersion ( IMod p_modMod, bool p_booExistingOnly ) : IMod
p_modMod IMod The mod for which to find another version.
p_booExistingOnly bool Whether the matcher should only match candidate mods that exist.
return IMod

ModMatcher() public method

A simple constructor that initializes the object with the given values.
public ModMatcher ( IEnumerable p_enmModCandidates, bool p_booAssumeAllExist ) : System
p_enmModCandidates IEnumerable The set of candidate mods against which to match the given mod.
p_booAssumeAllExist bool Whether to assume all of the given candidates exist.
return System