internal static HandleRef getCPtr(InterestRateScenario obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public InterestRateScenario(double years, InterestRateModel horizonmodel, InterestRateScenario.SCENTYPE arg2) : this(AkaApiPINVOKE.new_InterestRateScenario__SWIG_1(years, InterestRateModel.getCPtr(horizonmodel), (int)arg2), true) { if (AkaApiPINVOKE.SWIGPendingException.Pending) throw AkaApiPINVOKE.SWIGPendingException.Retrieve(); }
public bool AnalyzeScenario(InterestRateScenario arg0, Quote arg1, ScenarioAnalysis arg2) { bool ret = AkaApiPINVOKE.Value_AnalyzeScenario__SWIG_1(swigCPtr, InterestRateScenario.getCPtr(arg0), Quote.getCPtr(arg1), ScenarioAnalysis.getCPtr(arg2)); if (AkaApiPINVOKE.SWIGPendingException.Pending) throw AkaApiPINVOKE.SWIGPendingException.Retrieve(); return ret; }