This commit is contained in:
TheXamlGuy
2024-06-05 19:18:17 +01:00
parent b7fec9c83c
commit 29509e9d7a
16 changed files with 51 additions and 85 deletions
@@ -106,8 +106,7 @@ public static class IServiceCollectionExtensions
}
if (key is not null)
{
{
services.Add(new ServiceDescriptor(wrapperType, key, (provider, key) =>
provider.GetService<IServiceFactory>()?.Create(wrapperType,
provider.GetRequiredKeyedService<THandler>(key),