PortalParentLease class

Namespace Runic.Platform.Runtime · Runic.Platform.Runtime 0.7.0-preview.5

public abstract class PortalParentLease : IAsyncDisposable

Inherits or implements IAsyncDisposable.

Owns an exported parent identifier; dispose after the portal request closes.

Constructors

PortalParentLease

protected PortalParentLease()

No documentation.

Properties

Identifier

public abstract string Identifier { get; }

Gets an x11: or wayland: identifier, never a raw toolkit pointer.

OwnerClosed

public virtual CancellationToken OwnerClosed { get; }

Gets cancellation when the parent closes, when supported by the owner.

Methods

DisposeAsync

public abstract ValueTask DisposeAsync()

Inherits documentation from IAsyncDisposable.DisposeAsync.