Exemplo n.º 1
0
 public void DoForEachAppDomain(AppDomainAction appDomainAction)
 {
     if (m_eng.Capabilities.AppDomains)
     {
         _WP.Commands.Debugging_TypeSys_AppDomains.Reply domainsReply = m_eng.GetAppDomains();
         if (domainsReply != null)
         {
             foreach (uint id in domainsReply.m_data)
             {
                 _WP.Commands.Debugging_Resolve_AppDomain.Reply reply = m_eng.ResolveAppDomain(id);
                 if (reply != null)
                 {
                     appDomainAction(new AppDomainInfo(id, reply));
                 }
             }
         }
     }
 }