I need to register open generic of a type in my Windsor Container. How does this thing works?
container.Register(Component.For<IRepository<??>>().UsingFactoryMethod(x => x.Resolve<IDataContext>().GetRepository<??>()));
Basically, I want to register IRepository as open generic and then create the repository from the IDataContext based on the passed generic type. Is this supported?