Beispiel #1
0
 public void inject(IComponentIntrospect instance)
 {
     xpcf_apiPINVOKE.Injector_inject(swigCPtr, IComponentIntrospect.getCPtr(instance));
     if (xpcf_apiPINVOKE.SWIGPendingException.Pending)
     {
         throw xpcf_apiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
        public virtual IComponentIntrospect resolve(UUID interfaceUUID, string name)
        {
            global::System.IntPtr cPtr = xpcf_apiPINVOKE.IComponentManager_resolve__SWIG_3(swigCPtr, UUID.getCPtr(interfaceUUID), name);
            IComponentIntrospect  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new IComponentIntrospect(cPtr, true);

            if (xpcf_apiPINVOKE.SWIGPendingException.Pending)
            {
                throw xpcf_apiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #3
0
        public virtual IComponentIntrospect createComponent(string instanceName, UUID componentUUID)
        {
            global::System.IntPtr cPtr = xpcf_apiPINVOKE.IComponentManager_createComponent__SWIG_3(swigCPtr, instanceName, UUID.getCPtr(componentUUID));
            IComponentIntrospect  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new IComponentIntrospect(cPtr, true);

            if (xpcf_apiPINVOKE.SWIGPendingException.Pending)
            {
                throw xpcf_apiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #4
0
        public virtual IComponentIntrospect createComponent(ModuleMetadata moduleInfos, UUID componentUUID)
        {
            global::System.IntPtr cPtr = xpcf_apiPINVOKE.IModuleManager_createComponent(swigCPtr, ModuleMetadata.getCPtr(moduleInfos), UUID.getCPtr(componentUUID));
            IComponentIntrospect  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new IComponentIntrospect(cPtr, true);

            if (xpcf_apiPINVOKE.SWIGPendingException.Pending)
            {
                throw xpcf_apiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public IComponentIntrospect queryInterface(UUID interfaceUUID)
        {
            global::System.IntPtr cPtr = xpcf_apiPINVOKE.IComponentIntrospect_queryInterface(swigCPtr, UUID.getCPtr(interfaceUUID));
            IComponentIntrospect  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new IComponentIntrospect(cPtr, true);

            if (xpcf_apiPINVOKE.SWIGPendingException.Pending)
            {
                throw xpcf_apiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #6
0
        public static IComponentIntrospect createInstance(string instanceName, UUID componentUUID)
        {
            global::System.IntPtr cPtr = xpcf_apiPINVOKE.createInstance__SWIG_1(instanceName, UUID.getCPtr(componentUUID));
            IComponentIntrospect  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new IComponentIntrospect(cPtr, true);

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