internal List <String> PrepareToSend(Changeset changeset, IDataManager manager, Aims.Core.SecurityRepository securityRepository, PortfolioRepository portfolioRepository, string portfolioName) { var result = new List <String>(); if (changeset != null) { var date = DateTime.Now; foreach (var change in changeset.Changes) { var resolver = new Mail_IChangeResolver(this, manager, securityRepository, portfolioRepository, result, changeset.Username, date, portfolioName); change.Accept(resolver); } } return(result); }
public List<String> PrepareToSend(Changeset changeset, IDataManager manager, SecurityRepository securityRepository) { var result = new List<String>(); if (changeset != null) { var date = DateTime.Now; foreach (var change in changeset.Changes) { var resolver = new Mail_IChangeResolver(this, manager, securityRepository, result, changeset.Username, date); change.Accept(resolver); } } return result; }