コード例 #1
0
ファイル: Repartiteur.cs プロジェクト: RomainDAV/TigerAppWPF
 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>());
 }
コード例 #2
0
ファイル: Repartiteur.cs プロジェクト: RomainDAV/TigerAppWPF
 public void interest(List<Title> portfolio)
 {
     List<Title> temp = new List<Title>();
     foreach (Title t in portfolio)
     {
         if (inInterestModule(t))
             temp.Add(t);
     }
     this.modInt = new ModuleInterest(temp);
 }