Files
Walleby/Wallet/WalletHostCollection.cs
T
2024-06-09 14:00:36 +01:00

19 lines
425 B
C#

using System.Collections;
using Toolkit.Foundation;
namespace Wallet;
public class WalletHostCollection :
IWalletHostCollection
{
private readonly List<IComponentHost> hosts = [];
public void Add(IComponentHost host) => hosts.Add(host);
public IEnumerator<IComponentHost> GetEnumerator() =>
hosts.GetEnumerator();
IEnumerator IEnumerable.GetEnumerator() =>
hosts.GetEnumerator();
}