I have two class library named HTS.lib.Common
and HTS.lib.Common.Contract
In HTS.lib.Common.Contract
i have ModelView class and Interfaces
In HTS.lib.Common
i have public classes which inherit some interfaces from HTS.lib.Common.Contract
and have definition for it and all are of public type.
I have a MVC application which have reference of above two projects i can able to access only HTS.lib.Common.Contract
members and not HTS.lib.Common
I am wondering how can it can be happen, in my controller class i can able to create instance through DependencyResolver of HTS.lib.Common.Contract
. But when i try to access HTS.lib.Common
members not at all :(
Can any one know how we can configure so that derived class can`t be accessible but base interface and class able to access.