Esempio n. 1
0
 public OutputViewModel(SimulationResult result)
 {
     this.Rows = result.Select((q, i) => new OutputRowViewModel(q.Output, i, q.Date)).Where(r => r.Text != null);
 }
Esempio n. 2
0
 public EquityViewModel(SimulationResult result)
 {
     this.result = result;
     this.Rows = result.Select((x, i) => new EquityRowViewModel(result, i)).ToArray();
 }