• HOME
  • PRODUCTS
  • DEMOS
  • BUY
  • BLOG
  • FORUM
  • DOCUMENTATION
  • ABOUT
  • FREE EVALUATION
Search Results for

    Show / Hide Table of Contents

    IScriptRun Interface

    Definition

    Namespace: Alternet.Scripter
    Assembly: Alternet.Scripter.v8.dll

    Represents methods and properties declaration to describe runner for script engine.

    Syntax
    public interface IScriptRun : IScriptRunBase

    Properties

    AssemblyKind

    When implemented by a class, gets or sets output kind for the script assembly.

    GlobalItems

    When implemented by a class, gets or sets a script items collection attached to this runner.

    Platform

    When implemented by a class, gets or sets target platform (32 or 64 bits).

    ScriptHost

    When implemented by a class, returns object that implements IScriptHost interface for this runner.

    ScriptLanguage

    When implemented by a class, gets or sets programming language of the script.

    ScriptMode

    When implemented by a class, gets or sets debug or release mode for the scripts being executed.

    ScriptSource

    When implemented by a class, gets source of the script to execute.

    TargetFrameworkVersion

    When implemented by a class, gets or sets target framework version for locating .NET Framework assemblies.

    Win32ManifestOptions

    When implemented by a class, gets or sets Win32 manifest options for the script assembly.

    Methods

    CreateScriptHost()

    When implemented by a class, creates a new IScriptHost object with appropriate characteristics.

    EvaluateExpressionAsync(String, CancellationToken)

    When implemented by a class, evaluates specified expression asynchronously.

    LoadFile(String)

    When implemented by a class, load text content from the specified file.

    OnResolveReference(String, out String, out Byte[])

    When implemented by a class, invokes ReferenceResolve event handler.

    Run(String[])

    When implemented by a class, executes script starting from the main entry point.

    RunAsync(String[], CancellationToken)

    When implemented by a class, executes script asynchronously starting from the main entry point.

    RunMethod(String, Object, Object[])

    When implemented by a class, executes specified method.

    RunMethodAsync(String, Object, Object[], CancellationToken)

    When implemented by a class, executes specified method asynchronously.

    RunProcess(String[], Boolean)

    When implemented by a class, executes script starting from the main entry point in stand-alone process

    Events

    ReferenceResolve

    When implemented by a class, occurs when script code is loaded from file.

    Inherited Members
    IScriptRunBase.ScriptCompiled
    IScriptRunBase.ScriptError
    IScriptRunBase.ScriptReset
    IScriptRunBase.FileLoad
    IScriptRunBase.ScriptRunning
    IScriptRunBase.ScriptExecuted
    IScriptRunBase.CaseSensitive
    IScriptRunBase.Compiled
    IScriptRunBase.Executed
    IScriptRunBase.Run()
    IScriptRunBase.EvaluateExpression(String)
    IScriptRunBase.Compile()
    IScriptRunBase.Reset()
    IScriptRunBase.LoadScript(String)
    IScriptRunBase.OnScriptCompiled()
    IScriptRunBase.OnScriptRunning()
    IScriptRunBase.OnScriptExecuted()
    IScriptRunBase.OnScriptError(ScriptErrorEventArgs)
    IScriptRunBase.OnScriptReset()
    IScriptRunBase.OnFileLoad(String)
    In This Article
    Back to top Copyright AlterNET Software Download PDF