我有这个层次结构:
IRepository
|
|_____IRepository<T>_______________________________________________
| |
|_____Repository<TModelContainer, TEntity> |
| |
|_____SpecificRepository<TEntity> IEntityRepository
| |
|__________EntityRepository__________|
我只想拥有以下注册对:
IRepository<T> / Repository<T>
IEntityRepository / EntityRepository
基于http://docs.castleproject.org/Windsor.Registering-components-by-conventions.ashx,我无法理解如何实现这一目标......