Class Script
- Namespace
- Artemis.Core.ScriptingProviders
- Assembly
- Artemis.Core.dll
Represents a script processed by a ScriptingProvider.
public abstract class Script : CorePropertyChanged, IDisposable
- Inheritance
-
Script
- Implements
- Derived
Constructors
Script(ScriptConfiguration)
The base constructor of any script
protected Script(ScriptConfiguration configuration)
Parameters
configuration
ScriptConfigurationThe script configuration this script belongs to
Properties
ScriptConfiguration
Gets the script configuration this script belongs to
public ScriptConfiguration ScriptConfiguration { get; }
Property Value
ScriptType
Gets the script type of this script
public abstract ScriptType ScriptType { get; }
Property Value
ScriptingProvider
Gets the scripting provider this script belongs to
public ScriptingProvider ScriptingProvider { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Dispose(bool)
Releases the unmanaged resources used by the object and optionally releases the managed resources.
protected virtual void Dispose(bool disposing)
Parameters
disposing
booltrue to release both managed and unmanaged resources; false to release only unmanaged resources.
OnScriptContentChanged()
Invokes the ScriptContentChanged event
protected virtual void OnScriptContentChanged()
Events
ScriptContentChanged
Occurs when the contents of the script have changed
public event EventHandler? ScriptContentChanged