Method | Description | |
---|---|---|
Project ( IScriptTypeRegistry p_strScriptTypeRegistry ) : System |
A simple constructor that initializes the object with the required dependencies.
|
|
Project ( string p_strPath, IScriptTypeRegistry p_strScriptTypeRegistry ) : System |
A simple constructor that initializes the object with the required dependencies.
|
|
Save ( string p_strPath ) : void |
Saves the project to a file. The specified file will be overwriiten. |
|
SaveInfo ( |
Serializes the given IModInfo to an XML fragment.
|
|
UpdateInfo ( IModInfo p_mifInfo, bool p_booOverwriteAllValues ) : void |
Updates the object's proerties to the values of the given IModInfo.
|
Method | Description | |
---|---|---|
InstallScript_PropertyChanged ( object sender, |
Handles the INotifyPropertyChanged.PropertyChanged event of the InstallScript.
|
|
Load ( string p_strPath ) : void |
Loads the project from a file.
|
|
LoadInfo ( |
Deserializes an IModInfo from the given XML fragment into the given IModInfo.
|
|
LoadInfo ( |
Deserializes an IModInfo from the given XML fragment into the given IModInfo.
|
|
OnPropertyChanged ( |
Raises the INotifyPropertyChanged.PropertyChanged event of the project. This marks the project as dirty. |
protected InstallScript_PropertyChanged ( object sender, |
||
sender | object | The object that raised the event. |
e | A |
|
return | void |
protected Load ( string p_strPath ) : void | ||
p_strPath | string | The path to the file from which to load the project. |
return | void |
protected LoadInfo ( |
||
p_xndInfo | The XML fragment from which to deserialize the |
|
return | void |
protected LoadInfo ( |
||
p_xndInfo | The XML fragment from which to deserialize the |
|
p_booFillOnlyEmptyValues | bool | Whether to only overwrite |
return | void |
protected OnPropertyChanged ( |
||
e | A |
|
return | void |
public Project ( IScriptTypeRegistry p_strScriptTypeRegistry ) : System | ||
p_strScriptTypeRegistry | IScriptTypeRegistry | The |
return | System |
public Project ( string p_strPath, IScriptTypeRegistry p_strScriptTypeRegistry ) : System | ||
p_strPath | string | The path from which to load saved project data. |
p_strScriptTypeRegistry | IScriptTypeRegistry | The |
return | System |
public Save ( string p_strPath ) : void | ||
p_strPath | string | The path to the file in which to save the project. |
return | void |
public SaveInfo ( |
||
p_xmlDocument | The |
|
p_booEncodeScreenshot | bool | Whether or not to encode the |
return |
public UpdateInfo ( IModInfo p_mifInfo, bool p_booOverwriteAllValues ) : void | ||
p_mifInfo | IModInfo | The |
p_booOverwriteAllValues | bool | Whether to overwrite the current info values, /// or just the empty ones. |
return | void |