C# Class Nexus.Client.ModManagement.Scripting.XmlScript.UI.Controls.XmlScriptTreeViewVM

This class encapsulates the data and the operations presented by UI elements that display an XmlScript.
Inheritance: ObservableObject
Afficher le fichier Open project: NexusMods/NexusModManager-4.5

Méthodes publiques

Méthode Description
XmlScriptTreeViewVM ( XmlScript p_xscScript ) : System

A simple constructor that initializes the object with the required dependencies

XmlScriptTreeViewVM ( XmlScriptType p_xstScriptType ) : System

A simple constructor that initializes the object with the required dependencies

Private Methods

Méthode Description
ChangeEditedScriptVersion ( ) : void

This resets the script viewer to use the correct adapter for the new script version.

Script_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles the INotifyPropertyChanged.PropertyChanged event of the XML Script being edited.

Method Details

XmlScriptTreeViewVM() public méthode

A simple constructor that initializes the object with the required dependencies
public XmlScriptTreeViewVM ( XmlScript p_xscScript ) : System
p_xscScript XmlScript The being viewed.
Résultat System

XmlScriptTreeViewVM() public méthode

A simple constructor that initializes the object with the required dependencies
public XmlScriptTreeViewVM ( XmlScriptType p_xstScriptType ) : System
p_xstScriptType XmlScriptType The type of the script being edited.
Résultat System