Method | Description | |
---|---|---|
Commit ( ) : IModInfo |
Commits the current values to the IModInfo being edited.
|
|
LoadInfoValues ( IModInfo p_mifModInfo ) : void |
Loads the values from the given IModInfo into the control. This does not change which IModInfo is being edited, but simply loads the values into the view model. |
|
ModInfoVM ( IModInfo p_mifInfo ) : System |
A simple constructor that initializes the view model with the IModInfo that it will represent.
|
|
Reset ( ) : void |
This undoes any changes made to the values since the last commit.
|
|
Reset ( string p_strPropertyName ) : void |
This undoes any changes made to the specified value since the last commit.
|
|
Validate ( ) : bool |
Validate the IModInfo.
|
|
ValidateMachineVersion ( ) : bool |
Ensures that the version is valid, if present.
|
|
ValidateModName ( ) : bool |
Ensures that a mod name has been entered.
|
|
ValidateWebsite ( ) : bool |
Ensures that the URL is valid, if present.
|
public LoadInfoValues ( IModInfo p_mifModInfo ) : void | ||
p_mifModInfo | IModInfo | The |
return | void |
public ModInfoVM ( IModInfo p_mifInfo ) : System | ||
p_mifInfo | IModInfo | The |
return | System |
public Reset ( string p_strPropertyName ) : void | ||
p_strPropertyName | string | |
return | void |