tidy
This commit is contained in:
@@ -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());
|
||||
}
|
||||
Reference in New Issue
Block a user