Autofac with multiple implementations of the same interface

前端 未结 4 1873
小鲜肉
小鲜肉 2021-02-03 21:17

I\'m using Autofac and would like to have multiple implementations of an interface. How can I configure Autofac so to resolve dependencies based on the current type?

Mor

4条回答
提交回复
热议问题