LinuxEmbeddedBackendAvailability record

Namespace Runic.Desktop in Runic.Desktop 0.23.0

public sealed record LinuxEmbeddedBackendAvailability : IEquatable<LinuxEmbeddedBackendAvailability>

Inherits or implements IEquatable.

Reports native library discovery for one Linux toolkit without loading it.

Parameters

Backend

The toolkit.

LibrariesDiscovered

Whether its GTK and WebKitGTK libraries are in the native loader search path.

Diagnostics

What is missing; empty when the libraries were discovered.

Remarks

Library discovery is not proof of a compatible ABI, graphical session, or registered provider. Two entries are equal when their members are, with the diagnostics compared by value and order.

Constructors

LinuxEmbeddedBackendAvailability

public LinuxEmbeddedBackendAvailability(LinuxEmbeddedBackend Backend, bool LibrariesDiscovered, IReadOnlyList<DesktopDiagnostic> Diagnostics)

Reports native library discovery for one Linux toolkit without loading it.

Parameters

Backend

The toolkit.

LibrariesDiscovered

Whether its GTK and WebKitGTK libraries are in the native loader search path.

Diagnostics

What is missing; empty when the libraries were discovered.

Remarks

Library discovery is not proof of a compatible ABI, graphical session, or registered provider. Two entries are equal when their members are, with the diagnostics compared by value and order.

Properties

Backend

public LinuxEmbeddedBackend Backend { get; init; }

The toolkit.

Diagnostics

public IReadOnlyList<DesktopDiagnostic> Diagnostics { get; init; }

Gets what is missing; empty when the libraries were discovered.

LibrariesDiscovered

public bool LibrariesDiscovered { get; init; }

Whether its GTK and WebKitGTK libraries are in the native loader search path.

Methods

Equals

public bool Equals(LinuxEmbeddedBackendAvailability? other)

Compares every member, and the diagnostics by value and order.

GetHashCode

public override int GetHashCode()

Inherits documentation from Object.GetHashCode.