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 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(); } }