DesktopThumbnails class

Namespace Runic.Platform in Runic.Platform 0.23.0

public static class DesktopThumbnails

Thumbnails for hosts and platforms that cannot provide them.

Properties

MaximumScale

public static int MaximumScale { get; }

The largest display scale a request accepts, as DesktopIconRequest.MaximumScale. A later release may raise it.

MaximumSize

public static int MaximumSize { get; }

The largest size a request accepts, in pixels: the freedesktop.org xx-large thumbnail. A later release may raise it.

Methods

Unavailable

public static IDesktopThumbnails Unavailable(PlatformUnavailableReason reason)

Creates thumbnails that report every request unavailable for reason.

Exceptions

ArgumentOutOfRangeException

reason is not defined.

Remarks

Requests validate their arguments as a provider does; otherwise nothing throws except caller cancellation.