D
Dan Holmes
I have assembly a, b and c. Assembly b has a static method in one of
its classes that i would like classes in a and c to access but no other
assembly.
It would be similar to internal but with the ability to specify which
classes could access this method.
I know this doesn't exist but a declaration like:
[InternalTo(A.dll, C.dll)]
internal static Method()...
I guess i could check the call stack in Method for callers that are at
the top of the stack are a.dll or c.dll. Is there a better way?
dan
its classes that i would like classes in a and c to access but no other
assembly.
It would be similar to internal but with the ability to specify which
classes could access this method.
I know this doesn't exist but a declaration like:
[InternalTo(A.dll, C.dll)]
internal static Method()...
I guess i could check the call stack in Method for callers that are at
the top of the stack are a.dll or c.dll. Is there a better way?
dan