コード例 #1
0
        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);
        }
コード例 #2
0
 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;
 }