Skip to content
Project referenceDevelopmentEngine ccf7d03f
Authored
  • Explicit selection and preflight for seven neutral runtime backend families.

Explicit selection and preflight for seven neutral runtime backend families.

Start with composing a runtime host and runtime lifetime.

AdapterSelection stores the open stable IDs for Platform, Input, Storage, Rendering, Audio, Text and UI. It holds no native handle, service instance or reloadable object. Default values are unassigned; built-in IDs identify standard implementations rather than an implicit fallback.

IAdapterCatalog exposes the seven neutral factories without referencing concrete implementations or authoring pipelines. AdapterSelection.Validate checks every selection before any domain service is created. Invalid or missing registrations fail with NotSupportedException.

Presentation and compilers are authoring concerns, outside this runtime catalog. Use the separate authoring composition when building an Editor.

Supply live, explicitly owned dependencies as described above. These examples compile against the host contract; they do not initialize a complete product or verify a device.

using Inno.Adapter;
static void Validate(
AdapterSelection selection,
IAdapterCatalog catalog
) => selection.Validate(catalog);

The source project defines the host declarations. Source API extraction does not establish script visibility, native behavior or completed generation retirement.

Browse exact types and members.

Project: Inno.Adapter
Source: src/adapters/common/Inno.Adapter/Inno.Adapter.csproj

Type API Description
AdapterSelection engine Selects one implementation for every replaceable host backend family.
IAdapterCatalog engine Exposes factories for every replaceable host backend family without exposing implementations.