2
을 변형하지 RegisterAll을내가 인터페이스를
System.ArgumentException :
는container.RegisterAll<IDataHoldingSession<object>>( typeof(IDataHoldingSession<DbContext>), typeof(IDataHoldingSession<PrincipalContext>));
그러나, 다음과 같은 예외와 함께 실패 : 제공된 유형
IDataHoldingSession<DbContext>
은IDataHoldingSession<Object>
을 구현하지 않습니다.
이 문제를 해결하는 가장 좋은 방법은 무엇입니까?