I have base interface IBaseModel with many descendants (ex. IContactModel : IBaseModel;, IRelationModel : IBaseModel; etc.) and objects what implements this interfaces.
All this descendants interfaces is registered in Unity container.
How can I resolve all my objects what is descendant from IBaseModel?
1 Answer