public void Install(
IWindsorContainer container,
IConfigurationStore store)
{
container.RegisterSqlServerDocumentDb(Registration, AccountManagementDomainEventStoreInstaller.ConnectionStringName);
container.Register(
Component.For<IAccountManagementDomainQueryModelSession, IUnitOfWorkParticipant>()
.ImplementedBy<AccountManagementDomainQueryModelSession>()
.DependsOn(
Registration.DocumentDb,
Dependency.OnValue<IDocumentDbSessionInterceptor>(NullOpDocumentDbSessionInterceptor.Instance))
.LifestylePerWebRequest()
);
}
}