Table of Contents

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 ScriptConfiguration

The script configuration this script belongs to

Properties

ScriptConfiguration

Gets the script configuration this script belongs to

public ScriptConfiguration ScriptConfiguration { get; }

Property Value

ScriptConfiguration

ScriptType

Gets the script type of this script

public abstract ScriptType ScriptType { get; }

Property Value

ScriptType

ScriptingProvider

Gets the scripting provider this script belongs to

public ScriptingProvider ScriptingProvider { get; }

Property Value

ScriptingProvider

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 bool

true 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

Event Type

EventHandler