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

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

Public Methods

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

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

LoadPluginOrder() public method

Deserializes the plugin order from the permanent store.
public LoadPluginOrder ( ) : IEnumerable
return IEnumerable

SavePluginOrder() public method

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

SortPlugins() public method

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