Gringotts.Domain.Venture.AddInvestmentsToPortfolio C# (CSharp) 메소드

AddInvestmentsToPortfolio() 개인적인 메소드

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