private Repartiteur() { this.modEqu = new ModuleEquity(new List<Title>()); this.modChange = new ModuleChange(new List<Title>()); this.modConc = new ModuleConcentration(new List<Title>()); this.modSpread = new ModuleSpread(new List<Title>()); this.modProp = new ModuleProperty(new List<Title>()); this.modInt = new ModuleInterest(new List<Title>()); }
public void change(List<Title> portfolio) { List<Title> temp = new List<Title>(); foreach (Title t in portfolio) { if (inChangeModule(t)) temp.Add(t); } this.modChange = new ModuleChange(temp); }
public void change(List <Title> portfolio) { List <Title> temp = new List <Title>(); foreach (Title t in portfolio) { if (inChangeModule(t)) { temp.Add(t); } } this.modChange = new ModuleChange(temp); }