DesktopSettings class

Namespace Runic.Platform in Runic.Platform 0.23.0

public static class DesktopSettings

Desktop preferences for hosts and platforms that cannot provide them.

Methods

Unavailable

public static IDesktopSettings Unavailable(PlatformUnavailableReason reason)

Creates preferences that report every read unavailable for reason.

Remarks

IDesktopSettings.ReadAsync returns Unavailable, and IDesktopSettings.WatchAsync emits that value once and then waits for cancellation or disposal, as a watch with no further changes does. Nothing throws except for caller cancellation and use after disposal.