public TapAPICommodity(TapAPICommodity other) : this(TapTradePINVOKE.new_TapAPICommodity__SWIG_1(TapAPICommodity.getCPtr(other)), true)
 {
     if (TapTradePINVOKE.SWIGPendingException.Pending)
     {
         throw TapTradePINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
        public virtual int QryContract(out uint sessionID, TapAPICommodity qryReq)
        {
            int ret = TapTradePINVOKE.ITapTradeAPI_QryContract(swigCPtr, out sessionID, TapAPICommodity.getCPtr(qryReq));

            return(ret);
        }
 internal static HandleRef getCPtr(TapAPICommodity obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }