This commit is contained in:
Dan Clark
2024-11-22 18:52:25 +00:00
parent 8a2497be82
commit e809c22cb7
15 changed files with 145 additions and 31 deletions
+10
View File
@@ -0,0 +1,10 @@
namespace Toolkit.Foundation;
public record Updated
{
public static UpdatedEventArgs<TValue> As<TValue>(TValue value) =>
new(value);
public static UpdatedEventArgs<TValue> As<TValue>() where TValue : new() =>
new(new TValue());
}