dev: Using new stopwatch, some cleanup. No functional change

This commit is contained in:
Kwoth
2024-06-25 07:09:16 +00:00
parent 237e66495b
commit 4366f908f3
6 changed files with 18 additions and 23 deletions

View File

@@ -8,9 +8,9 @@ public sealed class CommandPromptResultModel
public required string Name { get; set; }
[JsonPropertyName("arguments")]
public required Dictionary<string, string> Arguments { get; set; }
public Dictionary<string, string> Arguments { get; set; } = new();
[JsonPropertyName("remaining")]
[JsonConverter(typeof(NumberToStringConverter))]
public required string Remaining { get; set; }
public string Remaining { get; set; } = string.Empty;
}