This commit is contained in:
TheXamlGuy
2024-04-26 23:05:36 +01:00
parent 9f90ef693d
commit bc55c4649b
206 changed files with 3106 additions and 3204 deletions
+2 -3
View File
@@ -1,5 +1,4 @@
namespace Toolkit.Foundation;
namespace Toolkit.Foundation;
public record Create<TValue>(TValue Value);
@@ -8,6 +7,6 @@ public record Create
public static Create<TValue> As<TValue>(TValue value) =>
new(value);
public static Create<TValue> As<TValue>() where TValue : new() =>
public static Create<TValue> As<TValue>() where TValue : new() =>
new(new TValue());
}