This commit is contained in:
TheXamlGuy
2024-04-26 22:27:31 +01:00
parent d799eab511
commit 9f90ef693d
39 changed files with 236 additions and 211 deletions
+10 -2
View File
@@ -1,5 +1,13 @@
namespace Toolkit.Foundation;
public record Remove<TValue>(TValue Value) :
INotification;
public record Remove<TValue>(TValue Value);
public record Remove
{
public static Remove<TValue> As<TValue>(TValue value) =>
new(value);
public static Remove<TValue> As<TValue>() where TValue : new() =>
new(new TValue());
}