示例#1
0
 public static ISymUnmanagedNamespace Wrap(Debugger.Interop.CorSym.ISymUnmanagedNamespace objectToWrap)
 {
     if ((objectToWrap != null))
     {
         return(new ISymUnmanagedNamespace(objectToWrap));
     }
     else
     {
         return(null);
     }
 }
 public void GetNamespaces(uint cNameSpaces, out uint pcNameSpaces, ISymUnmanagedNamespace[] namespaces)
 {
     Debugger.Interop.CorSym.ISymUnmanagedNamespace[] array_namespaces = new Debugger.Interop.CorSym.ISymUnmanagedNamespace[namespaces.Length];
     for (int i = 0; (i < namespaces.Length); i = (i + 1))
     {
         if ((namespaces[i] != null))
         {
             array_namespaces[i] = namespaces[i].WrappedObject;
         }
     }
     this.WrappedObject.GetNamespaces(cNameSpaces, out pcNameSpaces, array_namespaces);
     for (int i = 0; (i < namespaces.Length); i = (i + 1))
     {
         if ((array_namespaces[i] != null))
         {
             namespaces[i] = ISymUnmanagedNamespace.Wrap(array_namespaces[i]);
         }
         else
         {
             namespaces[i] = null;
         }
     }
 }
示例#3
0
 public ISymUnmanagedNamespace(Debugger.Interop.CorSym.ISymUnmanagedNamespace wrappedObject)
 {
     this.wrappedObject = wrappedObject;
     ResourceManager.TrackCOMObject(wrappedObject, typeof(ISymUnmanagedNamespace));
 }