Fixed more edge cases

This commit is contained in:
TheXamlGuy
2024-05-21 20:32:42 +01:00
parent 1190303044
commit 83fef5e399
18 changed files with 153 additions and 63 deletions
+10
View File
@@ -0,0 +1,10 @@
namespace Toolkit.Foundation;
public record Created
{
public static CreatedEventArgs<TValue> As<TValue>(TValue value) =>
new(value);
public static CreatedEventArgs<TValue> As<TValue>() where TValue : new() =>
new(new TValue());
}