C# Class Nexus.Client.Games.Gamebryo.PluginManagement.OrderLog.GamebryoPluginOrderLogSerializer

Serializes and deserializes the plugin order to a permanent store.
Inheritance: IPluginOrderLogSerializer
Afficher le fichier Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Méthodes publiques

Méthode Description
GamebryoPluginOrderLogSerializer ( ILoadOrderManager p_bstLoadOrder, PluginSorter p_bstPluginSorter ) : System

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

LoadPluginOrder ( ) : IEnumerable

Deserializes the plugin order from the permanent store.

SavePluginOrder ( IList p_lstOrderedPlugins ) : void

Serializes the plugin order to the permanent store.

SortPlugins ( IList p_lstOrderedPlugins ) : string[]

Sorts the plugins.

Method Details

GamebryoPluginOrderLogSerializer() public méthode

A simple constructor that initializes the object with the given dependencies.
public GamebryoPluginOrderLogSerializer ( ILoadOrderManager p_bstLoadOrder, PluginSorter p_bstPluginSorter ) : System
p_bstLoadOrder ILoadOrderManager
p_bstPluginSorter Nexus.Client.Games.Gamebryo.PluginManagement.Sorter.PluginSorter The PluginSorter instance to use to set plugin order.
Résultat System

LoadPluginOrder() public méthode

Deserializes the plugin order from the permanent store.
public LoadPluginOrder ( ) : IEnumerable
Résultat IEnumerable

SavePluginOrder() public méthode

Serializes the plugin order to the permanent store.
public SavePluginOrder ( IList p_lstOrderedPlugins ) : void
p_lstOrderedPlugins IList The list of ordered plugins.
Résultat void

SortPlugins() public méthode

Sorts the plugins.
public SortPlugins ( IList p_lstOrderedPlugins ) : string[]
p_lstOrderedPlugins IList The list of ordered plugins.
Résultat string[]