Esempio n. 1
0
 public TreeSwaptionEngine(ShortRateModelHandle model, uint timeSteps) : this(NQuantLibcPINVOKE.new_TreeSwaptionEngine__SWIG_5(ShortRateModelHandle.getCPtr(model), timeSteps), true)
 {
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 public TreeSwaptionEngine(ShortRateModelHandle model, uint timeSteps) : this(NQuantLibcPINVOKE.new_TreeSwaptionEngine__SWIG_5(ShortRateModelHandle.getCPtr(model), timeSteps), true) {
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ShortRateModelHandle obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Esempio n. 4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ShortRateModelHandle obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }