Fixed issue where singleton configuration cache was blocking creation of new components

This commit is contained in:
TheXamlGuy
2024-10-07 23:12:22 +01:00
parent 1c28659eac
commit f47e3deee9
6 changed files with 51 additions and 53 deletions
@@ -0,0 +1,9 @@
namespace Toolkit.Foundation
{
public interface IConfigurationCache
{
bool Remove(string section);
void Set<TConfiguration>(string section, TConfiguration configuration);
bool TryGet<TConfiguration>(string section, out TConfiguration? configuration);
}
}