C# 클래스 Nexus.Client.ModManagement.Scripting.XmlScript.UI.Controls.NodeEditors.ConditionallyInstalledFileSetEditorVM

This class encapsulates the data and the operations presented by UI elements that display a ConditionallyInstalledFileSet editor.
상속: IViewModel
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5 1 사용 예제들

공개 메소드들

메소드 설명
ConditionallyInstalledFileSetEditorVM ( ConditionEditorVM p_vmlConditionEditor, FileListEditorVM p_vmlFileList, ConditionallyInstalledFileSet p_cisConditionallyInstalledFileSet ) : System

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

Validate ( ) : bool

This validates the current state of the ConditionallyInstalledFileSet.

비공개 메소드들

메소드 설명
ConditionSaved ( object sender, EventArgs e ) : void

Handles the NodeEditors.ConditionEditorVM.ConditionSaved event of the ICondition editor's view model.

This persistes the new condition to the ConditionallyInstalledFileSet.

메소드 상세

ConditionallyInstalledFileSetEditorVM() 공개 메소드

A simple constructor that initializes the view model with its dependencies.
public ConditionallyInstalledFileSetEditorVM ( ConditionEditorVM p_vmlConditionEditor, FileListEditorVM p_vmlFileList, ConditionallyInstalledFileSet p_cisConditionallyInstalledFileSet ) : System
p_vmlConditionEditor ConditionEditorVM The that encapsulates the data /// and operations for diaplying the editor.
p_vmlFileList FileListEditorVM The that encapsulates the data /// and operations for diaplying the file list editor.
p_cisConditionallyInstalledFileSet ConditionallyInstalledFileSet The being edited.
리턴 System

Validate() 공개 메소드

This validates the current state of the ConditionallyInstalledFileSet.
public Validate ( ) : bool
리턴 bool