C# Class Nexus.Client.ModManagement.Scripting.XmlScript.UI.Controls.NodeEditors.ConditionEditor

The view for editing an ICondition.
Inheritance: NodeEditor
Afficher le fichier Open project: NexusMods/NexusModManager-4.5

Private Properties

Свойство Type Description
ConditionalTypePatternValidated void
InitializeComponent void
cpePatternEditor_Validated void

Méthodes publiques

Méthode Description
ConditionEditor ( ) : System

The default constructor.

ConditionEditor ( ConditionEditorVM p_vmlViewModel ) : System

A simple constructor the initializes the object with the given dependencies.

GetViewModel ( ) : IViewModel

Gets the view model of the editor.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
ConditionalTypePatternValidated ( object sender, EventArgs e ) : void

Hanldes the ConditionEditorVM.ConditionValidated event of the view model.

This displays any validation errors.

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

cpePatternEditor_Validated ( object sender, EventArgs e ) : void

Hanldes the Control.Validated event of the CPL editor.

This saves the edited CPL.

Method Details

ConditionEditor() public méthode

The default constructor.
public ConditionEditor ( ) : System
Résultat System

ConditionEditor() public méthode

A simple constructor the initializes the object with the given dependencies.
public ConditionEditor ( ConditionEditorVM p_vmlViewModel ) : System
p_vmlViewModel ConditionEditorVM The view model that provides the data and operations for this view.
Résultat System

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

GetViewModel() public méthode

Gets the view model of the editor.
public GetViewModel ( ) : IViewModel
Résultat IViewModel