M
Marc Sommer
Hello to all,
Problem: I don't want, that classes that must be inherited of could be seen
by other "hierarchies".
For instance, when I import Namespace Project.DataAccess I only what to see
the class c and not the class c_base.
Is there a way to do this? If I make c_base friend and c public, c cannot
inherit from c_base as it makes the underlying class accessible.
folowing an overview of a project structure:
Imports Project.BusinessFacade
Namespace Project
-----------------------------------
Imports Project.BusinessRules
Namespace Project.BusinessFacade
Public Class a Inherits a_base
Public MustInherit Class a_base
-----------------------------------
Imports Project.DataAccess
Namespace Project.BusinessRules
Public Class b Inherits b_base
Public MustInherit Class b_base
-----------------------------------
Namespace Project.DataAccess
Public Class c Inherits c_base
Public MustInherit Class c_base
-----------------------------------
Namespace Project.Data
Is there a solution?
Thanks for your help in advance
Marc Sommer
Problem: I don't want, that classes that must be inherited of could be seen
by other "hierarchies".
For instance, when I import Namespace Project.DataAccess I only what to see
the class c and not the class c_base.
Is there a way to do this? If I make c_base friend and c public, c cannot
inherit from c_base as it makes the underlying class accessible.
folowing an overview of a project structure:
Imports Project.BusinessFacade
Namespace Project
-----------------------------------
Imports Project.BusinessRules
Namespace Project.BusinessFacade
Public Class a Inherits a_base
Public MustInherit Class a_base
-----------------------------------
Imports Project.DataAccess
Namespace Project.BusinessRules
Public Class b Inherits b_base
Public MustInherit Class b_base
-----------------------------------
Namespace Project.DataAccess
Public Class c Inherits c_base
Public MustInherit Class c_base
-----------------------------------
Namespace Project.Data
Is there a solution?
Thanks for your help in advance
Marc Sommer