TopLevelHotkey.cs
 1  // Copyright (c) Microsoft Corporation
 2  // The Microsoft Corporation licenses this file to you under the MIT license.
 3  // See the LICENSE file in the project root for more information.
 4  
 5  using System.Text.Json.Serialization;
 6  using Microsoft.CmdPal.UI.ViewModels.Settings;
 7  
 8  namespace Microsoft.CmdPal.UI.ViewModels;
 9  
10  public class TopLevelHotkey(HotkeySettings? hotkey, string commandId)
11  {
12      public string CommandId { get; set; } = commandId;
13  
14      public HotkeySettings? Hotkey { get; set; } = hotkey;
15  }