Get items stored and retrieved from the db
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
namespace Toolkit.Foundation;
|
||||||
|
|
||||||
|
public record Confirm<TValue>(TValue Value);
|
||||||
|
|
||||||
|
public record Confirm
|
||||||
|
{
|
||||||
|
public static Confirm<TValue> As<TValue>(TValue value) =>
|
||||||
|
new(value);
|
||||||
|
|
||||||
|
public static Confirm<TValue> As<TValue>() where TValue : new() =>
|
||||||
|
new(new TValue());
|
||||||
|
}
|
||||||
@@ -316,6 +316,7 @@ public partial class ObservableCollectionViewModel<TViewModel> :
|
|||||||
await Enumerate();
|
await Enumerate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public async Task Enumerate()
|
public async Task Enumerate()
|
||||||
{
|
{
|
||||||
if (this.GetAttribute<EnumerateAttribute>() is EnumerateAttribute attribute)
|
if (this.GetAttribute<EnumerateAttribute>() is EnumerateAttribute attribute)
|
||||||
|
|||||||
Reference in New Issue
Block a user