C# Class Nexus.Client.Games.Gamebryo.PluginManagement.GamebryoPluginOrderValidator

Provides methods for validating and correcting the order of Gamebryo based game plugins.
Inheritance: IPluginOrderValidator
Afficher le fichier Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Méthodes publiques

Méthode Description
CorrectOrder ( IList p_lstPlugins ) : void

Reoreders the given plugins so that their order is valid.

This method moves the minimum number of plugins the minimum distance in order to make the order valid.

GamebryoPluginOrderValidator ( string p_strOrderedCriticalPluginNames ) : System

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

ValidateOrder ( IList p_lstPlugins ) : bool

Determines if the specified plugin order is valid.

Method Details

CorrectOrder() public méthode

Reoreders the given plugins so that their order is valid.
This method moves the minimum number of plugins the minimum distance in order to make the order valid.
public CorrectOrder ( IList p_lstPlugins ) : void
p_lstPlugins IList The plugins whose order is to be corrected.
Résultat void

GamebryoPluginOrderValidator() public méthode

A simple constructor that initializes the object with the given values.
public GamebryoPluginOrderValidator ( string p_strOrderedCriticalPluginNames ) : System
p_strOrderedCriticalPluginNames string The list of critical plugin names, ordered by load order.
Résultat System

ValidateOrder() public méthode

Determines if the specified plugin order is valid.
public ValidateOrder ( IList p_lstPlugins ) : bool
p_lstPlugins IList The plugins whose order is to be validated.
Résultat bool