private void DecreaseTotalRiskAndCostByAction(CoverageAction action) { TotalResidualRisk = TotalResidualRisk - (double)action.ManagedRiskReduction; TotalCost += (double)action.Cost; TotalIngCost += (double)action.IngCost; }
private void CreateRiskProjection(CoverageAction action) { DecreaseTotalRiskAndCostByAction(action); Projections.Add( action.GetActionId(), new Projection(TotalResidualRisk, TotalCost, TotalIngCost) ); }