private Holding GetSplittedHolding(Percentage percentage)
{
var aHolding = new Holding();
foreach (var investment in Investments)
{
Investment inv = new Investment(investment.Investor, percentage.Apply(investment.Value));
aHolding.Add(inv);
inv.Investor.AddInvestmentToPortfolio(inv);
}
return aHolding;
}