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 equity(List <Title> portfolio) { List <Title> temp = new List <Title>(); foreach (Title t in portfolio) { if (inEquityModule(t)) { temp.Add(t); } } this.modEqu = new ModuleEquity(temp); }
public void equity(List<Title> portfolio) { List<Title> temp=new List<Title>(); foreach(Title t in portfolio) { if (inEquityModule(t)) temp.Add(t); } this.modEqu = new ModuleEquity(temp); }