WIP: Item counts

This commit is contained in:
TheXamlGuy
2024-06-11 22:32:14 +01:00
parent 0026c3186b
commit c8f447251e
4 changed files with 22 additions and 1 deletions
+10
View File
@@ -0,0 +1,10 @@
namespace Toolkit.Foundation;
public record Count
{
public static CountEventArgs<TSender> As<TSender>(TSender sender) =>
new(sender);
public static CountEventArgs<TSender> As<TSender>() where TSender : new() =>
new(new TSender());
}