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

Edits a ConditionalTypePattern.
Inheritance: System.Windows.Forms.UserControl
Afficher le fichier Open project: NexusMods/NexusModManager-4.5

Private Properties

Свойство Type Description
ConditionalTypePatternValidated void
InitializeComponent void
ViewModel_PropertyChanged void
butSave_Click void

Méthodes publiques

Méthode Description
ConditionalTypePatternEditor ( ) : System

The default constructor.

Méthodes protégées

Méthode Description
BindConditionalTypePattern ( Nexus.Client.ModManagement.Scripting.XmlScript.ConditionalOptionTypeResolver.ConditionalTypePattern p_ctpPattern ) : void

Binds the ConditionalTypePattern being edited to the UI.

Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

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

This handles the ConditionalTypePatternEditorVM.ConditionalTypePatternValidated 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.

ViewModel_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles the INotifyPropertyChanged.PropertyChanged event of the view model.

This binds the UI to the updated ConditionalTypePattern.

butSave_Click ( object sender, EventArgs e ) : void

Handles the Control.Click event of the save button.

This asks the view model to save the pattern.

Method Details

BindConditionalTypePattern() protected méthode

Binds the ConditionalTypePattern being edited to the UI.
protected BindConditionalTypePattern ( Nexus.Client.ModManagement.Scripting.XmlScript.ConditionalOptionTypeResolver.ConditionalTypePattern p_ctpPattern ) : void
p_ctpPattern Nexus.Client.ModManagement.Scripting.XmlScript.ConditionalOptionTypeResolver.ConditionalTypePattern The being edited.
Résultat void

ConditionalTypePatternEditor() public méthode

The default constructor.
public ConditionalTypePatternEditor ( ) : System
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