DesktopVolumes class

Namespace Runic.Platform in Runic.Platform 0.23.0

public static class DesktopVolumes

Volumes for hosts and platforms without a provider.

Methods

Unavailable

public static IDesktopVolumes Unavailable(PlatformUnavailableReason reason)

Creates volumes that report every operation unavailable for reason.

Exceptions

ArgumentOutOfRangeException

reason is not defined.

Remarks

IDesktopVolumes.WatchAsync reports that value once and then waits for cancellation or disposal. Nothing throws except for invalid arguments, caller cancellation and use after disposal.