private void ClearFilterCommandExecute(object obj) { IsFilterSet = false; _currentFilter.Reset(); _eventAggregator.GetEvent <PubSubEvent <FilterEvent> >().Publish(new FilterEvent(true, _currentFilter)); }
/// <summary> /// Set current filter /// </summary> private void SetFilter(bool IsFilterEmpty, IFilterModel CurrentFilter) { if (IsFilterEmpty) { _currentFilter.Reset(); } else { _currentFilter = CurrentFilter; } }