public static void Filter(IList <ContentItem> items, int startIndex, int maxCount) { ItemFilter.Filter(items, new CountFilter(startIndex, maxCount)); }
/// <summary>Applies a filter on a list of items.</summary> /// <param name="items">The items to filter.</param> /// <param name="filter">The filter to apply.</param> public static void Filter(IList <ContentItem> items, ItemFilter filter) { filter.Filter(items); }
/// <summary>Removes duplicate items.</summary> /// <param name="items">The items whose duplicate items should be deleted.</param> public static void FilterDuplicates(IList <ContentItem> items) { ItemFilter.Filter(items, new DuplicateFilter()); }
public static void Filter(IList <ContentItem> items, string zoneName) { ItemFilter.Filter(items, new ZoneFilter(zoneName)); }