示例#1
0
 public TapAPIPositionInfo(TapAPIPositionInfo other) : this(TapTradePINVOKE.new_TapAPIPositionInfo__SWIG_1(TapAPIPositionInfo.getCPtr(other)), true)
 {
     if (TapTradePINVOKE.SWIGPendingException.Pending)
     {
         throw TapTradePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public virtual void OnRtnPosition(TapAPIPositionInfo info)
 {
     TapTradePINVOKE.ITapTradeAPINotify_OnRtnPosition(swigCPtr, TapAPIPositionInfo.getCPtr(info));
 }
 public virtual void OnRspQryPosition(uint sessionID, int errorCode, char isLast, TapAPIPositionInfo info)
 {
     TapTradePINVOKE.ITapTradeAPINotify_OnRspQryPosition(swigCPtr, sessionID, errorCode, isLast, TapAPIPositionInfo.getCPtr(info));
 }
示例#4
0
 internal static HandleRef getCPtr(TapAPIPositionInfo obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }