Bug fixes

This commit is contained in:
TheXamlGuy
2024-07-05 21:57:01 +01:00
parent f937a1d999
commit 5654b86cea
10 changed files with 27 additions and 24 deletions
+8
View File
@@ -0,0 +1,8 @@
namespace Toolkit.Foundation;
public record Close
{
public static CloseEventArgs<TSender> As<TSender>(TSender sender) => new(sender);
public static CloseEventArgs<TSender> As<TSender>() where TSender : new() => new(new TSender());
}