Too much to name... but damn, it got where we are needed

This commit is contained in:
TheXamlGuy
2024-01-14 15:06:30 +00:00
parent 66f4bb8757
commit 1283e8ff58
59 changed files with 511 additions and 250 deletions
@@ -0,0 +1,16 @@
using System.Text.Json.Serialization;
namespace Hyperbar.Windows.Primary;
[JsonDerivedType(typeof(KeyAcceleratorCommandConfiguration), typeDiscriminator: "KeyAcceleratorCommand")]
[JsonDerivedType(typeof(ProcessCommandConfiguration), typeDiscriminator: "ProcessCommand")]
public class PrimaryCommandConfiguration
{
public required Guid Id { get; set; }
public required string Icon { get; set; }
public required string Text { get; set; }
public List<PrimaryCommandConfiguration>? Commands { get; set; } = [];
}