public GraphsPresenter(IGraphsView view, Processor processor) { this.view = view; this.processor = processor; countOfGraphs = Settings.Default.MaxCountOfExpressions >= 20 ? 20 : Settings.Default.MaxCountOfExpressions; listOfGraphs = new List<GraphItemViewModel>(countOfGraphs); }
public GraphsPresenter(IGraphsView view, Processor processor) { this.view = view; this.processor = processor; countOfGraphs = Settings.Default.MaxCountOfExpressions >= 20 ? 20 : Settings.Default.MaxCountOfExpressions; listOfGraphs = new List <GraphItemViewModel>(countOfGraphs); }