Beispiel #1
0
 public Callability(CallabilityPrice price, _Callability.Type type, Date date) : this(NQuantLibcPINVOKE.new_Callability(CallabilityPrice.getCPtr(price), (int)type, Date.getCPtr(date)), true)
 {
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 public SoftCallability(CallabilityPrice price, Date date, double trigger) : this(NQuantLibcPINVOKE.new_SoftCallability(CallabilityPrice.getCPtr(price), Date.getCPtr(date), trigger), true)
 {
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public CallabilityPrice price()
        {
            CallabilityPrice ret = new CallabilityPrice(NQuantLibcPINVOKE._Callability_price(swigCPtr), false);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #4
0
 public CallabilityPrice price() {
   CallabilityPrice ret = new CallabilityPrice(NQuantLibcPINVOKE._Callability_price(swigCPtr), false);
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Beispiel #5
0
 public SoftCallability(CallabilityPrice price, Date date, double trigger) : this(NQuantLibcPINVOKE.new_SoftCallability(CallabilityPrice.getCPtr(price), Date.getCPtr(date), trigger), true) {
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
 }
Beispiel #6
0
 public CallabilityPrice(double amount, CallabilityPrice.Type type) : this(NQuantLibcPINVOKE.new_CallabilityPrice(amount, (int)type), true) {
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
 }
Beispiel #7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CallabilityPrice obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CallabilityPrice obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }