Skip to content
Project referenceDevelopmentEngine ccf7d03f
Authored
  • Neutral UI import settings, language frontends, dependency analysis and runtime payload production.

This project imports neutral .iuidocument sources through an explicitly selected language frontend. It defines analysis and dependency contracts while leaving RML syntax to the RmlUi authoring adapter. See authoring a document for the current concrete language path.

UiDocumentImportSettings requires nonempty languageId and implementationId. Empty defaults are not an automatic selection. The importer reads strict UTF-8, analyzes the source through the active frontend registry, resolves declared font assets and produces an implementation-qualified runtime payload.

Failed analysis produces diagnostics and stops import. Missing fonts and fonts without a usable face fail explicitly. Current imported registrations select face zero. Declared font artifacts become asset dependencies, and the payload retains neutral source and font descriptions rather than live frontend or native objects.

The registry discovers IUiDocumentFrontend implementations from the shared type catalog, owns their extension lifetime, and acquires a type operation while analyzing. Provider retirement cannot race an active analysis. Detached analysis results must not retain provider objects or generation-bound delegates.

The source snapshot exposes an explicit reader for declared source dependencies. A frontend must use that boundary rather than making hidden network requests or independently reading mutable filesystem paths. Duplicate language providers and unavailable languages are visible selection errors.

An analysis result is successful only when canonical text exists and no diagnostics remain. This is an authoring contract, not proof that a native backend, GPU renderer or deployment environment is available.

The RmlUi frontend handles .rml and controlled RCSS expansion. The UI runtime owns document font artifacts during use.

Browse types and exact member contracts.

Project: Inno.UI.Assets
Source: src/services/ui/Inno.UI.Assets/Inno.UI.Assets.csproj

Type API Description
IUiDocumentFrontend engine Validates one UI document language without creating runtime UI objects.
UiDocumentAnalysis engine Returns validated text without retaining parser or implementation objects.
UiDocumentDiagnostic engine Reports a language-neutral source problem.
UiDocumentFontDeclaration engine One font asset declared by a UI document language frontend.
UiDocumentFrontendCatalog engine Owns one immutable UI language registration snapshot.
UiDocumentFrontendRegistry engine Discovers UI language frontends through the shared type-generation transaction.
UiDocumentImportPipeline engine Coordinates source analysis, font dependencies, and runtime UI asset emission.
UiDocumentImportSettings engine Explicitly selects language and runtime implementation for neutral UI source.
UiDocumentImporter engine Imports implementation-neutral UTF-8 UI source using explicit sidecar settings.
UiDocumentSourceFile engine Contains immutable source text supplied to a UI language frontend.