Exemple #1
0
 public static ISymUnmanagedNamespace Wrap(Interop.CorSym.ISymUnmanagedNamespace objectToWrap)
 {
     if ((objectToWrap != null))
     {
         return(new ISymUnmanagedNamespace(objectToWrap));
     }
     else
     {
         return(null);
     }
 }
 public void GetNamespaces(uint cNameSpaces, out uint pcNameSpaces, ISymUnmanagedNamespace[] namespaces)
 {
     Interop.CorSym.ISymUnmanagedNamespace[] array_namespaces = new 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;
         }
     }
 }
Exemple #3
0
 public ISymUnmanagedNamespace(Interop.CorSym.ISymUnmanagedNamespace wrappedObject)
 {
     this.wrappedObject = wrappedObject;
     ResourceManager.TrackCOMObject(wrappedObject, typeof(ISymUnmanagedNamespace));
 }