Esempio n. 1
0
 public ComponentMetadata(ComponentMetadata other) : this(xpcf_apiPINVOKE.new_ComponentMetadata__SWIG_0(ComponentMetadata.getCPtr(other)), true)
 {
     if (xpcf_apiPINVOKE.SWIGPendingException.Pending)
     {
         throw xpcf_apiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 public void addComponent(ComponentMetadata componentInfo)
 {
     xpcf_apiPINVOKE.ModuleMetadata_addComponent(swigCPtr, ComponentMetadata.getCPtr(componentInfo));
     if (xpcf_apiPINVOKE.SWIGPendingException.Pending)
     {
         throw xpcf_apiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 3
0
        public virtual ComponentMetadata findComponentMetadata(UUID componentUUID)
        {
            global::System.IntPtr cPtr = xpcf_apiPINVOKE.IComponentManager_findComponentMetadata(swigCPtr, UUID.getCPtr(componentUUID));
            ComponentMetadata     ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ComponentMetadata(cPtr, true);

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