aspnet / DependencyInjection

[Archived] Contains common DI abstractions that ASP.NET Core and Entity Framework Core use. Project moved to https://github.com/aspnet/Extensions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

It need a Named method

bfyxzls opened this issue · comments

commented

hello
the ioc should named method , such as autofac registered a implemnt ,it may make Named(string name),I may registered a interface multiply implements!
thank so much!

Hi @bfyxzls , there are no plans to add this type of support to the default DI container. We recommend using a 3rd party container such as Autofac if you need this feature.