public TableBoolViewModel(LogicalReport report, TableBoolView view) { _view = view; _report = report; CreateGrid(); }
private void EvaluateCommand_Execute() { DisplayControl = null; Analyzer analyzer = new Analyzer(Input); LogicalReport report; try { report = analyzer.Analyze(); } catch (Exception) { DisplayControl = new ErrorResultView(); return; } if (report.UniqueResult.HasValue) { DisplayControl = new SimpleBoolView(report.UniqueResult.Value); return; } DisplayControl = new TableBoolView(report); }