G
guiroux22
Hi everybody,
I have two assemblies. The first is used by the client sites and
provides some public classes using internal classes (access must be
restrictive). The second is an "administrative" assembly which add
functionalities to the current classes (free access to the classes).
This assembly have access to the internal classes thanks to friendly
assemblies.
http://www.c-sharpcorner.com/UploadFile/rmcochran/reuse10312006141427PM/reuse.aspx
So i want to inherit internal classes from the first assembly to
public classes in the second assembly, but Visual Studio can't compile
it.
namespace Assembly1
{
internal class MyClass
{
...
}
}
namespace Assembly2
{
public class MyClass : Assembly2.MyClass
{
...
}
}
Maybe someone have a solution ?
Thanks
I have two assemblies. The first is used by the client sites and
provides some public classes using internal classes (access must be
restrictive). The second is an "administrative" assembly which add
functionalities to the current classes (free access to the classes).
This assembly have access to the internal classes thanks to friendly
assemblies.
http://www.c-sharpcorner.com/UploadFile/rmcochran/reuse10312006141427PM/reuse.aspx
So i want to inherit internal classes from the first assembly to
public classes in the second assembly, but Visual Studio can't compile
it.
namespace Assembly1
{
internal class MyClass
{
...
}
}
namespace Assembly2
{
public class MyClass : Assembly2.MyClass
{
...
}
}
Maybe someone have a solution ?
Thanks