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
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5 1 사용 예제들

공개 메소드들

메소드 설명
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