protected virtual void OnFilterApplied(PropertyFilter filter) { if (this.FilterApplied == null) { return; } this.FilterApplied(this, new PropertyFilterAppliedEventArgs(filter)); }
public virtual void ApplyFilter(PropertyFilter filter) { this.MatchesFilter = filter == null || filter.Match((IPropertyFilterTarget)this); this.OnFilterApplied(filter); }
public PropertyFilterAppliedEventArgs(PropertyFilter filter) { this._filter = filter; }