builder.RegisterType<StandardConsole>()
.As<IStartable>()
.As<IConsumer<ConsoleCommand>>()
.SingleInstance();
Very widely used feature of Autofac- any problems then there is a bug somewhere 🙂
Hth
Nick
Edit By the looks of it, you’re after the overload of As() that takes an IEnumerable<Type>() – check out all of the As() overloads using IntelliSense, something there should fit your scenario. As another commenter noted, you need to update the question with all of the info.