Esempio n. 1
0
 public TapAPITradeContractInfo(TapAPITradeContractInfo other) : this(TapTradePINVOKE.new_TapAPITradeContractInfo__SWIG_1(TapAPITradeContractInfo.getCPtr(other)), true)
 {
     if (TapTradePINVOKE.SWIGPendingException.Pending)
     {
         throw TapTradePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public virtual void OnRtnContract(TapAPITradeContractInfo info)
 {
     TapTradePINVOKE.ITapTradeAPINotify_OnRtnContract(swigCPtr, TapAPITradeContractInfo.getCPtr(info));
 }
 public virtual void OnRspQryContract(uint sessionID, int errorCode, char isLast, TapAPITradeContractInfo info)
 {
     TapTradePINVOKE.ITapTradeAPINotify_OnRspQryContract(swigCPtr, sessionID, errorCode, isLast, TapAPITradeContractInfo.getCPtr(info));
 }
Esempio n. 4
0
 internal static HandleRef getCPtr(TapAPITradeContractInfo obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }