Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates an input event source for one window or for the entire application.

API: engine
Project: Inno.Adapter.Input

public Inno.Adapter.Input.IInputEventSource Inno.Adapter.Input.InputBackendCatalog.CreateEventSource(Inno.Adapter.Input.InputBackendId backend, Inno.Platform.IPlatformWindow window, bool acceptAllWindows)

Parameter backend: input implementation selected by the composition root.

Parameter window: Primary platform window whose input is accepted by the source.

Parameter acceptAllWindows: Whether the source accepts events from every window owned by the application.

A caller-owned backend-neutral input event source.

Exception T:System.NotSupportedException: Thrown when the catalog does not contain the selected backend or the platform is incompatible.

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