Hello guys, I'm new to IOC and strcturemap but i want to know how I can register different classes that implements from the same interface like IRepository that implements CustomerRepository and CategoryRepository for example. And, as you can see, if i can use this with generic types. Like Repository or Repository
x.ForRequestedType<IRepository<Category>>().TheDefault.Is.OfConcreteType<IRepository<Category>>();
tried this bit It didn't worked..any help whould be appreciated!