C# Класс Nexus.Client.ModManagement.Scripting.XmlScript.UI.Controls.NodeEditors.ConditionallyInstalledFileSetOrderEditorVM

This class encapsulates the data and the operations presented by UI elements that display a ConditionallyInstalledFileSet order editor.
Наследование: IViewModel
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ConditionallyInstalledFileSetOrderEditorVM ( IList p_lstConditionallyInstalledFileSets, CPLConverter p_cvtConverter ) : System.Collections.Generic

A simple constructor that initializes the view model with its dependencies.

GetConditionString ( ICondition p_cndCondition ) : string

Converts the given ICondition to a string representation.

MovePattern ( Int32 p_intOldIndex, Int32 p_intNewIndex ) : void

Moves the pattern at the specified old index to the new index.

Validate ( ) : bool

Validates the current ConditionallyInstalledFileSet order.

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

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

A simple constructor that initializes the view model with its dependencies.
public ConditionallyInstalledFileSetOrderEditorVM ( IList p_lstConditionallyInstalledFileSets, CPLConverter p_cvtConverter ) : System.Collections.Generic
p_lstConditionallyInstalledFileSets IList The list of s whose order /// is being edited.
p_cvtConverter Nexus.Client.ModManagement.Scripting.XmlScript.CPL.CPLConverter The to use to convert the 's /// conditions to a string.
Результат System.Collections.Generic

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

Converts the given ICondition to a string representation.
public GetConditionString ( ICondition p_cndCondition ) : string
p_cndCondition ICondition The to convert.
Результат string

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

Moves the pattern at the specified old index to the new index.
public MovePattern ( Int32 p_intOldIndex, Int32 p_intNewIndex ) : void
p_intOldIndex System.Int32 The index of the pattern to move.
p_intNewIndex System.Int32 The new index to which to move the pattern.
Результат void

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

Validates the current ConditionallyInstalledFileSet order.
public Validate ( ) : bool
Результат bool