get vaults rendering on the screen
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using System.Collections;
|
||||
using Toolkit.Foundation;
|
||||
|
||||
namespace Bitvault;
|
||||
|
||||
public class VaultHostCollection :
|
||||
IVaultHostCollection
|
||||
|
||||
{
|
||||
private readonly List<IComponentHost> hosts = [];
|
||||
|
||||
public void Add(IComponentHost host)
|
||||
{
|
||||
hosts.Add(host);
|
||||
}
|
||||
|
||||
public IEnumerator<IComponentHost> GetEnumerator() =>
|
||||
hosts.GetEnumerator();
|
||||
|
||||
IEnumerator IEnumerable.GetEnumerator() =>
|
||||
hosts.GetEnumerator();
|
||||
}
|
||||
Reference in New Issue
Block a user