Esempio n. 1
0
 public TapAPIContract(TapAPIContract other) : this(TapQuotePINVOKE.new_TapAPIContract__SWIG_1(TapAPIContract.getCPtr(other)), true)
 {
     if (TapQuotePINVOKE.SWIGPendingException.Pending)
     {
         throw TapQuotePINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public virtual int UnSubscribeQuote(out uint sessionID, TapAPIContract contract)
        {
            int ret = TapQuotePINVOKE.ITapQuoteAPI_UnSubscribeQuote(swigCPtr, out sessionID, TapAPIContract.getCPtr(contract));

            return(ret);
        }
        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 virtual void OnRspUnSubscribeQuote(uint sessionID, int errorCode, char isLast, TapAPIContract info)
 {
     TapQuotePINVOKE.ITapQuoteAPINotify_OnRspUnSubscribeQuote(swigCPtr, sessionID, errorCode, isLast, TapAPIContract.getCPtr(info));
 }