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
Show file Open project: NexusMods/NexusModManager-4.5

Public Methods

Method 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

Method 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 method

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

XmlScriptTreeViewVM() public method

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