C# Class 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.
Inheritance: IViewModel
Exibir arquivo Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Public Methods

Method Description
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.

Private Methods

Method Description
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.

Method Details

ConditionallyInstalledFileSetEditorVM() public method

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

Validate() public method

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