Пример #1
0
 public void GetAppDomain(out IMDAppDomain ppDomain)
 {
     if (m_handle.AppDomain != null)
         ppDomain = new MDAppDomain(m_handle.AppDomain);
     else
         ppDomain = null;
 }
Пример #2
0
        public int Next(out IMDAppDomain ppAppDomain)
        {
            if (m_curr < m_refs.Count)
            {
                ppAppDomain = new MDAppDomain(m_refs[m_curr++]);
                return HRESULTS.S_OK;
            }
            else if (m_curr == m_refs.Count)
            {
                m_curr++;
                ppAppDomain = null;
                return HRESULTS.S_FALSE;
            }

            ppAppDomain = null;
            return HRESULTS.E_FAIL;
        }