EngineManifest
Namespace: E2E.Engine
public static class EngineManifestUpstream’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
Fields
Section titled “Fields”SpiVersion
Section titled “SpiVersion”public const int SpiVersion = 1The engine contract version this runner supports (upstream’s ENGINE_SPI_VERSION).
Value: int
Methods
Section titled “Methods”DefineEngine(EngineSpec)
Section titled “DefineEngine(EngineSpec)”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
IsEngineHandle(object?)
Section titled “IsEngineHandle(object?)”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