S
Sgt. Sausage
I know it's not possible, but I need a protected internal interface:
protected internal interface ISomeInterface{
// yadda yadda yadda
}
Basically, I need an interface that is completely accessable
from within the assembly (internal), but is not valid outside
the assembly except for derived objects that live outside
the assembly, but deriving from an object internal to the
assembly (protected).
With the existing interface scoping constraints, I can't do
this. I'm not allowed to declare a protected internal interface.
I've got an object that needs to expose one interface
publicly (easy to do), but internally to the assembly
needs to be accessable in a slightly different manner via
a slightly different interface.
Knowing that this can't be done via interfaces, does
anyone have any alternatives?
I can't believe that this is a really oddball request. Does
anyone have an explanation as to why an interface can't
be declared as "protected internal interface" ?
protected internal interface ISomeInterface{
// yadda yadda yadda
}
Basically, I need an interface that is completely accessable
from within the assembly (internal), but is not valid outside
the assembly except for derived objects that live outside
the assembly, but deriving from an object internal to the
assembly (protected).
With the existing interface scoping constraints, I can't do
this. I'm not allowed to declare a protected internal interface.
I've got an object that needs to expose one interface
publicly (easy to do), but internally to the assembly
needs to be accessable in a slightly different manner via
a slightly different interface.
Knowing that this can't be done via interfaces, does
anyone have any alternatives?
I can't believe that this is a really oddball request. Does
anyone have an explanation as to why an interface can't
be declared as "protected internal interface" ?