Added the abilty to load configuration sections using * pattern
This commit is contained in:
@@ -2,4 +2,11 @@
|
||||
namespace Toolkit.Foundation;
|
||||
|
||||
public record Create<TValue>(TValue Value) :
|
||||
INotification;
|
||||
INotification;
|
||||
|
||||
public record Create
|
||||
{
|
||||
public static Create<TValue> As<TValue>(TValue value) => new(value);
|
||||
|
||||
public static Create<TValue> As<TValue>() where TValue : new() => new(new TValue());
|
||||
}
|
||||
Reference in New Issue
Block a user