Support unarchiving

This commit is contained in:
TheXamlGuy
2024-05-19 16:13:45 +01:00
parent 41c7f71a9d
commit 718a1f92ca
7 changed files with 21 additions and 18 deletions
+10
View File
@@ -0,0 +1,10 @@
namespace Toolkit.Foundation;
public record Cancel
{
public static CancelEventArgs<TValue> As<TValue>(TValue value) =>
new(value);
public static CancelEventArgs<TValue> As<TValue>() where TValue : new() =>
new(new TValue());
}