public NonstandardSwaption(NonstandardSwap swap, Exercise exercise) : this(NQuantLibcPINVOKE.new_NonstandardSwaption__SWIG_2(NonstandardSwap.getCPtr(swap), Exercise.getCPtr(exercise)), true) { if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } }
public NonstandardSwaption(NonstandardSwap swap, Exercise exercise, Settlement.Type type, Settlement.Method settlementMethod) : this(NQuantLibcPINVOKE.new_NonstandardSwaption__SWIG_0(NonstandardSwap.getCPtr(swap), Exercise.getCPtr(exercise), (int)type, (int)settlementMethod), true) { if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } }