Artemis Artemis
Artemis Artemis

Search Results for

    Class Script

    Represents a script processed by a ScriptingProvider.

    Inheritance
    object
    CorePropertyChanged
    Script
    GlobalScript
    ProfileScript
    Implements
    IDisposable
    Namespace: Artemis.Core.ScriptingProviders
    Assembly: Artemis.Core.dll
    Syntax
    public abstract class Script : CorePropertyChanged, IDisposable

    Constructors

    Script(ScriptConfiguration)

    The base constructor of any script

    Declaration
    protected Script(ScriptConfiguration configuration)
    Parameters
    Type Name Description
    ScriptConfiguration configuration

    The script configuration this script belongs to

    Properties

    ScriptConfiguration

    Gets the script configuration this script belongs to

    Declaration
    public ScriptConfiguration ScriptConfiguration { get; }
    Property Value
    Type Description
    ScriptConfiguration

    ScriptType

    Gets the script type of this script

    Declaration
    public abstract ScriptType ScriptType { get; }
    Property Value
    Type Description
    ScriptType

    ScriptingProvider

    Gets the scripting provider this script belongs to

    Declaration
    public ScriptingProvider ScriptingProvider { get; }
    Property Value
    Type Description
    ScriptingProvider

    Methods

    Dispose()

    Declaration
    public void Dispose()

    Dispose(bool)

    Releases the unmanaged resources used by the object and optionally releases the managed resources.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

    OnScriptContentChanged()

    Invokes the ScriptContentChanged event

    Declaration
    protected virtual void OnScriptContentChanged()

    Events

    ScriptContentChanged

    Occurs when the contents of the script have changed

    Declaration
    public event EventHandler? ScriptContentChanged
    Event Type
    Type Description
    EventHandler

    Implements

    IDisposable
    Content is available under the PolyForm Noncommercial License, by Artemis RGB.