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