Gringotts.Domain.Venture.AddInvestmentsToPortfolio C# (CSharp) Method

AddInvestmentsToPortfolio() private method

private AddInvestmentsToPortfolio ( IEnumerable investments ) : void
investments IEnumerable
return void
        private void AddInvestmentsToPortfolio(IEnumerable<Investment> investments)
        {
            foreach (var investment in investments)
            {
                Investor investor = investment.Investor;
                investor.AddInvestmentToPortfolio(investment);
            }
        }