Fix some edge cases

This commit is contained in:
TheXamlGuy
2024-05-14 16:52:47 +01:00
parent c310b3080c
commit 553a6fbaff
10 changed files with 85 additions and 41 deletions
+10
View File
@@ -0,0 +1,10 @@
namespace Toolkit.Foundation;
public record Edit
{
public static EditEventArgs<TValue> As<TValue>(TValue value) =>
new(value);
public static EditEventArgs<TValue> As<TValue>() where TValue : new() =>
new(new TValue());
}