ApplicationPlatformServices class

Namespace Runic.Platform in Runic.Platform 0.23.0

public static class ApplicationPlatformServices

Application platform services for hosts that cannot provide them.

Properties

CapabilityIds

public static ImmutableArray<string> CapabilityIds { get; }

The capability identifiers the application's platform services report.

Methods

Unavailable

public static IApplicationPlatformServices Unavailable(PlatformUnavailableReason reason)

Creates services that report every operation and capability unavailable for reason.

Exceptions

ArgumentOutOfRangeException

reason is not defined.

Remarks

Nothing throws except for invalid arguments and caller cancellation.