Ensure containers show up in the menu when they are created
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
namespace Toolkit.Foundation;
|
||||
|
||||
public record Activated;
|
||||
public record Activated<TValue>(TValue? Value = default);
|
||||
|
||||
public record Activated
|
||||
{
|
||||
public static Activated<TValue> As<TValue>(TValue value) => new(value);
|
||||
|
||||
public static Activated<TValue> As<TValue>() where TValue : new() => new(new TValue());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user