Esempio n. 1
0
 public InterfaceMetadata(InterfaceMetadata other) : this(xpcf_apiPINVOKE.new_InterfaceMetadata__SWIG_0(InterfaceMetadata.getCPtr(other)), true)
 {
     if (xpcf_apiPINVOKE.SWIGPendingException.Pending)
     {
         throw xpcf_apiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
        public virtual InterfaceMetadata findInterfaceMetadata(UUID interfaceUUID)
        {
            global::System.IntPtr cPtr = xpcf_apiPINVOKE.IComponentManager_findInterfaceMetadata(swigCPtr, UUID.getCPtr(interfaceUUID));
            InterfaceMetadata     ret  = (cPtr == global::System.IntPtr.Zero) ? null : new InterfaceMetadata(cPtr, true);

            if (xpcf_apiPINVOKE.SWIGPendingException.Pending)
            {
                throw xpcf_apiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(InterfaceMetadata obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }