C# Класс Nexus.Client.Games.Gamebryo.PluginManagement.OrderLog.GamebryoPluginOrderLogSerializer

Serializes and deserializes the plugin order to a permanent store.
Наследование: IPluginOrderLogSerializer
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

GamebryoPluginOrderLogSerializer() публичный Метод

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.
Результат System

LoadPluginOrder() публичный Метод

Deserializes the plugin order from the permanent store.
public LoadPluginOrder ( ) : IEnumerable
Результат IEnumerable

SavePluginOrder() публичный Метод

Serializes the plugin order to the permanent store.
public SavePluginOrder ( IList p_lstOrderedPlugins ) : void
p_lstOrderedPlugins IList The list of ordered plugins.
Результат void

SortPlugins() публичный Метод

Sorts the plugins.
public SortPlugins ( IList p_lstOrderedPlugins ) : string[]
p_lstOrderedPlugins IList The list of ordered plugins.
Результат string[]