示例#1
0
 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();
     }
 }
示例#2
0
 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();
     }
 }