namespace Artemis.Core.ScriptingProviders { /// /// Represents a view model containing a script editor /// public interface IScriptEditorViewModel { /// /// Gets the script type this view model was created for /// ScriptType ScriptType { get; } /// /// Gets the script this editor is editing /// Script? Script { get; } /// /// Called whenever the view model must display a different script /// /// The script to display or if no script is to be displayed void ChangeScript(Script? script); } }