IDesktopOpenRequests interface

Namespace Runic.Platform in Runic.Platform 0.23.0

public interface IDesktopOpenRequests : IAsyncDisposable

Inherits or implements IAsyncDisposable.

Requests to open files and URLs, from this launch, later launches and, on macOS, the system's open events.

Remarks

Dispose it when the application ends; later requests are then dropped.

Events

Opened

event EventHandler<DesktopOpenRequest>? Opened

Raised for each request on a worker thread, one at a time and in order; dispatch window work through the application's host. Requests that arrive before the first handler subscribes wait for it.