private void EditWithQuery() { var qvm = new FilterQueryEditorViewModel(this.RootFilters); Messenger.Raise(new TransitionMessage(qvm, "ShowFilterQueryEditor")); if (qvm.Success) { if (qvm.FilterCluster.ConcatenateAnd) { this.RootFilters = new[] { qvm.FilterCluster } } ; else { this.RootFilters = qvm.FilterCluster.Filters.ToArray(); } RaisePropertyChanged(() => RootFilterViewModels); } }
private void EditWithQuery() { var qvm = new FilterQueryEditorViewModel(this.RootFilters); Messenger.Raise(new TransitionMessage(qvm, "ShowFilterQueryEditor")); if (qvm.Success) { if (qvm.FilterCluster.ConcatenateAnd) this.RootFilters = new[] { qvm.FilterCluster }; else this.RootFilters = qvm.FilterCluster.Filters.ToArray(); RaisePropertyChanged(() => RootFilterViewModels); } }