See Autofac documentation
The most elegant solution seems to be the KeyFilterAttribute.

Advertisements