Answer the question
In order to leave comments, you need to log in
How to rewrite registration from Autofac to Castel.Windsor?
Hello, please help me redo the following:
There are 2 registrations in Autofac
builder.RegisterAssemblyTypes(typeof (IMediator).Assembly, GetType().Assembly)
.AsClosedTypesOf(typeof (IQueryHandler<,>))
.AsImplementedInterfaces();
builder.RegisterType<Mediator>().AsImplementedInterfaces().InstancePerLifetimeScope();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question