Improved event naming

This commit is contained in:
TheXamlGuy
2024-05-12 19:55:20 +01:00
parent 3ba21051bf
commit 105aa2da26
21 changed files with 111 additions and 60 deletions
+9 -2
View File
@@ -1,3 +1,10 @@
namespace Bitvault;
using Toolkit.Foundation;
public record Closed;
namespace Bitvault;
public record Closed
{
public static ChangedEventArgs<TValue> As<TValue>(TValue value) => new(value);
public static ChangedEventArgs<TValue> As<TValue>() where TValue : new() => new(new TValue());
}