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(); } }
public void addComponent(ComponentMetadata componentInfo) { xpcf_apiPINVOKE.ModuleMetadata_addComponent(swigCPtr, ComponentMetadata.getCPtr(componentInfo)); if (xpcf_apiPINVOKE.SWIGPendingException.Pending) { throw xpcf_apiPINVOKE.SWIGPendingException.Retrieve(); } }
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); }
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); }