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