Mass rename

This commit is contained in:
TheXamlGuy
2024-05-12 11:02:19 +01:00
parent 0860e286e2
commit c1b6e595bc
102 changed files with 412 additions and 448 deletions
+18
View File
@@ -0,0 +1,18 @@
using Toolkit.Foundation;
namespace Bitvault;
public class ContainerComponentFactory(IComponentFactory componentFactory) :
IContainerComponentFactory
{
public IComponentHost? Create(string name)
{
if (componentFactory.Create<IContainerComponent, ContainerConfiguration>($"Vault:{name}",
new ContainerConfiguration { Name = name }) is IComponentHost host)
{
return host;
}
return default;
}
}