private FilterPresenter(ICollectionView source) { collectionView = source; filteredEventArgs = new FilteredEventArgs(source); itemProperties = (IItemProperties)source == null ? null : ((IItemProperties)source).ItemProperties; filterFunction = new Predicate <object>(FilterFunction); filters = new Dictionary <string, FiltersCollection>(); }
internal FilterPresenter(ICollectionView source) { this.collectionView = source; this.filteredEventArgs = new FilteredEventArgs(source); this.itemProperties = (IItemProperties)source == null ? new ReadOnlyCollection <ItemPropertyInfo>(new ItemPropertyInfo[] { }) : ((IItemProperties)source).ItemProperties; if (this.itemProperties == null) { this.itemProperties = new ReadOnlyCollection <ItemPropertyInfo>(new ItemPropertyInfo[] { }); } this.filterFunction = new Predicate <object>(this.FilterFunction); this.filters = new Dictionary <string, FiltersCollection>(); }
private static void FilterPresenter_Filter(object sender, FilteredEventArgs e) { //throw new NotImplementedException(); }