关于[Tenant-based dependency injection in multi-tenant ASP.NET Core applications]的摘要:
One need in multitenant applications is injecting dependencies based on tenant configuration. It can be actually more complex as instances may need constructor parameters. Here is my example of dynamic injection of multiple file clients in ASP.NET Core multi-tenant web application.
原文地址: https://gunnarpeipman.com/aspnet-core-tenant-based-dependency-injection/