protected List <LifetimeCollateral> GetScenarioLifetimeCollateralResult(List <Loanbook_Data> loanbook, List <LifeTimeProjections> eadInputs, ECL_Scenario _scenario, List <LGDAccountData> contractData) { _scenarioLifetimeCollateral = new ScenarioLifetimeCollateral(_scenario, this._eclId, this._eclType); var data = _scenarioLifetimeCollateral.ComputeLifetimeCollateral(loanbook, eadInputs, contractData); Log4Net.Log.Info($"LGD_Lifetim_Collateral - {_scenario}"); return(data); }
public ScenarioLifetimeLGD(Guid eclId, EclType eclType, ECL_Scenario _scenario) { this._eclId = eclId; // this._scenario = scenario; this._eclType = eclType; _sicrInputs = new SicrInputWorkings(this._eclId, _eclType); _sicrWorkings = new SicrWorkings(this._eclId, _eclType); _lifetimeEadWorkings = new LifetimeEadWorkings(this._eclId, _eclType); _scenarioLifetimeCollateral = new ScenarioLifetimeCollateral(ECL_Scenario.Best, this._eclId, _eclType); _pdMapping = new PDMapping(this._eclId, _eclType); _creditIndex = new CreditIndex(this._eclId, _eclType); }