N
~~~ .NET Ed ~~~
I am facing a problem. My project is composed of several assemblies. In one
of them -the backend- I have several internal classes that must implement an
interface. These internal classes are only used by one master class that is
public.
I am able to declare the interface as "internal interface" without problem
but when I attempt to use it by declaring a class that implements it, if I
declare the implemented interface members as "internal" (they are supposed
to be seen only within the assemly) I get an error that it is not
implemented because of "wrong return type or wrong visibility" so basically
it is forcing me to use "public" which I don't want because I don't want
those methods to be seen outside.
Or... perhaps the public gets "downgraded" if you use an "internal"
attribute in the class declaration, at least that is what I am hoping for
but makes the notation a bit confusing.
Emilio
of them -the backend- I have several internal classes that must implement an
interface. These internal classes are only used by one master class that is
public.
I am able to declare the interface as "internal interface" without problem
but when I attempt to use it by declaring a class that implements it, if I
declare the implemented interface members as "internal" (they are supposed
to be seen only within the assemly) I get an error that it is not
implemented because of "wrong return type or wrong visibility" so basically
it is forcing me to use "public" which I don't want because I don't want
those methods to be seen outside.
Or... perhaps the public gets "downgraded" if you use an "internal"
attribute in the class declaration, at least that is what I am hoping for
but makes the notation a bit confusing.
Emilio