Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates a presentation context over compatible platform and rendering adapters.

API: engine
Project: Inno.Adapter.Presentation

public Inno.Adapter.Presentation.IPresentationContext Inno.Adapter.Presentation.PresentationBackendCatalog.CreateContext(Inno.Adapter.Presentation.PresentationBackendId backend, Inno.Adapter.Presentation.PresentationBackendOptions options)

Parameter backend: Stable presentation implementation selected by the composition root.

Parameter options: Host-owned resources and presentation policy.

A caller-owned backend-neutral presentation context.

Exception T:System.NotSupportedException: Thrown when the selected platform, rendering, and presentation backends are incompatible.

Exception T:System.InvalidOperationException: The selected provider returned no service.