Skip to content

EngineManifest

Namespace: E2E.Engine

public static class EngineManifest

Upstream’s defineEngine and isEngineHandle (engine/manifest.ts). The engine manifest: DefineEngine(EngineSpec) validates an engine at config load, synchronously and loudly, and computes its capability set. A combination the contract does not allow is INVALID_CONFIG, never a silent demotion to a lower tier. .NET-only holder name: C# has no free functions.

Inheritance: object

View source

public const int SpiVersion = 1

The engine contract version this runner supports (upstream’s ENGINE_SPI_VERSION).

Value: int

public static EngineHandle DefineEngine(EngineSpec spec)

Validates <code class=“paramref”>spec</code> and computes the engine’s capability set. Throws INVALID_CONFIG for a declared combination the contract does not allow, naming the engine.

Parameters

Name Type Description
spec EngineSpec

Returns: EngineHandle

public static bool IsEngineHandle(object? value)

True when <code class=“paramref”>value</code> is an engine handle built by DefineEngine(EngineSpec).

Parameters

Name Type Description
value object

Returns: bool