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