public TapAPICommodity(TapAPICommodity other) : this(TapQuotePINVOKE.new_TapAPICommodity__SWIG_1(TapAPICommodity.getCPtr(other)), true) { if (TapQuotePINVOKE.SWIGPendingException.Pending) { throw TapQuotePINVOKE.SWIGPendingException.Retrieve(); } }
public virtual int QryTradingTimeBucketOfCommodity(out uint sessionID, TapAPICommodity qryReq) { int ret = TapQuotePINVOKE.ITapQuoteAPI_QryTradingTimeBucketOfCommodity(swigCPtr, out sessionID, TapAPICommodity.getCPtr(qryReq)); return(ret); }
internal static HandleRef getCPtr(TapAPICommodity obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
public virtual int QryContract(out uint sessionID, TapAPICommodity qryReq) { int ret = TapQuotePINVOKE.ITapQuoteAPI_QryContract(swigCPtr, out sessionID, TapAPICommodity.getCPtr(qryReq)); return(ret); }