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

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

Public Methods

Method 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 method

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.
return void

GamebryoPluginOrderValidator() public method

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.
return System

ValidateOrder() public method

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.
return bool