C# Class Nexus.Client.ModAuthoring.UI.Controls.ModScriptEditorVM

This class encapsulates the data and the operations presented by UI elements that display a mod script editor.
This is an abstract base class that be be subclassed to provide view models for each type of mod script, such as IScriptedMod.InstallScript.
Inheritance: ObservableObject
Exibir arquivo Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
ModScriptEditorVM ( IScriptTypeRegistry p_stgScriptTypeRegistry ) : System.Collections.Generic

A siple constructor that initializes the object with the given dependencies.

Protected Methods

Method Description
RefreshScript ( ) : void

Loads the script from the mod being edited.

Private Methods

Method Description
EditedMod_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles the INotifyPropertyChanged.PropertyChanged event of the mod being edited.

Method Details

ModScriptEditorVM() public method

A siple constructor that initializes the object with the given dependencies.
public ModScriptEditorVM ( IScriptTypeRegistry p_stgScriptTypeRegistry ) : System.Collections.Generic
p_stgScriptTypeRegistry IScriptTypeRegistry The of available s.
return System.Collections.Generic

RefreshScript() protected method

Loads the script from the mod being edited.
protected RefreshScript ( ) : void
return void