public AssetSwap(bool payFixedRate, SWIGTYPE_p_boost__shared_ptrT_Bond_t bond, double bondCleanPrice, IborIndex index, double spread, Schedule floatSchedule, DayCounter floatingDayCount, bool parAssetSwap) : this(NQuantLibcPINVOKE.new_AssetSwap__SWIG_0(payFixedRate, SWIGTYPE_p_boost__shared_ptrT_Bond_t.getCPtr(bond), bondCleanPrice, IborIndex.getCPtr(index), spread, Schedule.getCPtr(floatSchedule), DayCounter.getCPtr(floatingDayCount), parAssetSwap), true) { if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } }
public AssetSwap(bool payFixedRate, SWIGTYPE_p_boost__shared_ptrT_Bond_t bond, double bondCleanPrice, IborIndex index, double spread) : this(NQuantLibcPINVOKE.new_AssetSwap__SWIG_3(payFixedRate, SWIGTYPE_p_boost__shared_ptrT_Bond_t.getCPtr(bond), bondCleanPrice, IborIndex.getCPtr(index), spread), true) { if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_boost__shared_ptrT_Bond_t obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }