Autofac 中与 Ninject 的 .Get() 等效的是什么?
Type handlerType = typeof(IMessageHandler<>);
Type[] typeArgs = { message.GetType() };
Type constructed = handlerType.MakeGenericType(typeArgs);
var handler = NinjectKernel.Get(constructed);
谢谢!