public void SetAdvancedCriteria(CriteriaOperator c) { if (ReferenceEquals(null, _advancedCriteria) || !_advancedCriteria.Equals(c)) { _advancedCriteria = c; _changed = true; } }
static void CheckFilterCriteria(FilterControl filterControl) { if (CriteriaOperator.Equals(filterControl.ActualFilterCriteria, filterControl.FilterCriteria)) { return; } filterControl.ApplyFilter(); }