Skip to content

API Host Reference

Liu.Yandong.Hanks edited this page Aug 21, 2026 · 4 revisions

.NET Host API Reference

Applies to AuroraScript.JIT 4.0.0.

API Reference · Host Integration

This directory lists every public host type recorded in the current host-api.json. Each type has its own page with a simple usage sample: core integration types provide directly usable C# examples, while lower-level runtime types also list their complete public signatures, parameters, returns, and call shapes.

New integrations usually need only AuroraEngine, EngineOptions, ScriptSources, ScriptDomain, ScriptGlobal, and ScriptDatum.

On This Page

Engine and Configuration

Engine entry points:

Option objects:

Option builders:

Compilation results and enumerations:

Sources and Resolution

Entry points and contracts:

Source descriptors and lookup:

Built-in resolvers:

Execution, Modules, and Hot Patching

Script Values and Runtime Objects

Value model:

Objects and collections:

Primitive and text values:

Specialized values:

CLR Interop and Callbacks

Type registration and marshalling:

Bonding objects and delegates:

Extension helpers:

Serialization, Diagnostics, and Exceptions

Typed documents:

JSON and debugger serialization:

Exceptions and diagnostics:

Usage Boundaries

  • Most host integrations can be built entirely from AuroraEngine, EngineOptions, ScriptDomain, ScriptSources, ScriptGlobal, and ScriptDatum.
  • Runtime.Types, raw delegates, and resolver implementation types target advanced integrations. When using them, the host is responsible for thread safety, object lifetime, and compatibility validation.
  • For end-to-end examples of wiring these types together, see Host Integration; for compilation-mode trade-offs, see Performance and Benchmarks.

Clone this wiki locally