Interface IScriptEditorViewModel
Represents a view model containing a script editor
Namespace: Artemis.Core.ScriptingProviders
Assembly: Artemis.Core.dll
Syntax
public interface IScriptEditorViewModel
Properties
Script
Gets the script this editor is editing
Declaration
Script? Script { get; }
Property Value
Type | Description |
---|---|
Script |
ScriptType
Gets the script type this view model was created for
Declaration
ScriptType ScriptType { get; }
Property Value
Type | Description |
---|---|
ScriptType |
Methods
ChangeScript(Script?)
Called whenever the view model must display a different script
Declaration
void ChangeScript(Script? script)
Parameters
Type | Name | Description |
---|---|---|
Script | script | The script to display or null if no script is to be displayed |