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(); } }
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); }
public CallabilityPrice price() { CallabilityPrice ret = new CallabilityPrice(NQuantLibcPINVOKE._Callability_price(swigCPtr), false); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); return ret; }
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(double amount, CallabilityPrice.Type type) : this(NQuantLibcPINVOKE.new_CallabilityPrice(amount, (int)type), true) { if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); }
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); }