Ejemplo n.º 1
0
        public virtual OrderProducer createOrderProducer(ONSFactoryProperty factoryProperty)
        {
            var cPtr = ONSClient4CPPPINVOKE.ONSFactoryAPI_createOrderProducer(swigCPtr, ONSFactoryProperty.getCPtr(factoryProperty));
            var ret  = cPtr == IntPtr.Zero ? null : new OrderProducer(cPtr, false);

            if (ONSClient4CPPPINVOKE.SWIGPendingException.Pending)
            {
                throw ONSClient4CPPPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }