This commit is contained in:
TheXamlGuy
2024-05-18 20:40:12 +01:00
parent 85a14a8259
commit 1b60711ec4
9 changed files with 84 additions and 76 deletions
+10
View File
@@ -0,0 +1,10 @@
namespace Toolkit.Foundation;
public class Notify
{
public static NotifyEventArgs<TValue> As<TValue>(TValue value) =>
new(value);
public static NotifyEventArgs<TValue> As<TValue>() where TValue : new() =>
new(new TValue());
}