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