标签: c# asp.net dependency-injection inversion-of-control unity-container
我有一个我之前注入的命名依赖项:
public Data([Dependency("FormMapper")] IMapper formMapper) { ... }
升级到Unity 5.0后,此功能不再有效。如何使用更新的Unity API注入它?