Пример #1
0
        public virtual TapAPIQuoteWhole GetFullQuote(TapAPIContract contract)
        {
            IntPtr           cPtr = TapQuotePINVOKE.ITapQuoteAPI_GetFullQuote(swigCPtr, TapAPIContract.getCPtr(contract));
            TapAPIQuoteWhole ret  = (cPtr == IntPtr.Zero) ? null : new TapAPIQuoteWhole(cPtr, false);

            return(ret);
        }
 public TapAPIQuoteWhole(TapAPIQuoteWhole other) : this(TapQuotePINVOKE.new_TapAPIQuoteWhole__SWIG_1(TapAPIQuoteWhole.getCPtr(other)), true)
 {
     if (TapQuotePINVOKE.SWIGPendingException.Pending)
     {
         throw TapQuotePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public virtual void OnRspSubscribeQuote(uint sessionID, int errorCode, char isLast, TapAPIQuoteWhole info)
 {
     TapQuotePINVOKE.ITapQuoteAPINotify_OnRspSubscribeQuote(swigCPtr, sessionID, errorCode, isLast, TapAPIQuoteWhole.getCPtr(info));
 }
 public virtual void OnRtnQuote(TapAPIQuoteWhole info)
 {
     TapQuotePINVOKE.ITapQuoteAPINotify_OnRtnQuote(swigCPtr, TapAPIQuoteWhole.getCPtr(info));
 }
 internal static HandleRef getCPtr(TapAPIQuoteWhole obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }