Class PlatformKeyBinding
Defines the keys for a single command, optionally varying by platform. Keys are additive — for example, on Linux both All and Linux keys apply.
public record PlatformKeyBinding : IEquatable<PlatformKeyBinding>
- Inheritance
-
PlatformKeyBinding
- Implements
- Inherited Members
Constructors
Properties
- All
Gets or sets keys that apply on all platforms.
- Linux
Gets or sets additional keys for Linux only.
- Macos
Gets or sets additional keys for macOS only.
- Windows
Gets or sets additional keys for Windows only.
Methods
- GetCurrentPlatformKeys()
Returns the keys applicable to the current operating system. Yields all All keys followed by the platform-specific keys.