Re: Restricting instantiation of a nested class to its container

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hmmm. Doesn't the internal keyword only restrict access to (1) classes
in the same assembly and (2) derived classes in other assemblies?

Thanks for the tip on ListItemCollection. I knew that MS does that in
an umber of places, but I couldn't remember off the top of my head
where. Time to fire-up .NET Reflector!

ex-neo-con

.



Relevant Pages

  • Re: Why cant I register a serviced component in the COM+ Catalog
    ... I have strong signed the assemblies using Visual ... | far as I'm aware I haven't got any derived classes apart from the serviced ... | public class NorthwindSC: ServicedComponent ...
    (microsoft.public.dotnet.framework)
  • Re: Determining names of derived classes at runtime
    ... John Hardin wrote: ... >> The answer depends on where you expect to find these derived classes ... You can find all the referenced assemblies of a given assembly, ... load any ones which haven't been already loaded, then recurse, etc. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Is there any way to view all of the sub classes in VC#?
    ... or in terms of documentation? ... MSDN lists ... the derived classes within a given set of assemblies, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: I need something between protected and public
    ... - Grant explicit privlidges to other assemblies to see your Internal ... X coming into its constructor is if I make it public on X. Public is ... I want the ability to allow privileged access to ... members of an instance from derived classes. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How to restrict caller access by strong name keypair??
    ... Brad ... > I would like to restrict access to a number of assemblies so that the ... > calling assembly must be signed with the company keypair. ... > corporate assemblies are signed with the same keypair and I only want them ...
    (microsoft.public.dotnet.security)