[Mono-dev] Getting the list of all AppDomains in a process

Jonathan Pryor jonpryor at vt.edu
Fri Feb 12 12:41:15 EST 2010


On Fri, 2010-02-12 at 16:55 +0100, Robert Jordan wrote:
> AppDomainManager is a base class that can be used to implement
> an own manager. Overriding CreateDomain and maintaining a list
> of created appdomains shouldn't take more the 2 line of code.

This is something that hadn't occurred to me.

It also wouldn't allow enumeration over ALL AppDomains, just over those
that a particular AppDomainManager created.  This may be sufficient for
the desired purposes, but it's certainly not a "catch-all" solution.

 - Jon




More information about the Mono-devel-list mailing list