コード例 #1
0
 public static void Filter(IList <ContentItem> items, int startIndex, int maxCount)
 {
     ItemFilter.Filter(items, new CountFilter(startIndex, maxCount));
 }
コード例 #2
0
 /// <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);
 }
コード例 #3
0
 /// <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());
 }
コード例 #4
0
 public static void Filter(IList <ContentItem> items, string zoneName)
 {
     ItemFilter.Filter(items, new ZoneFilter(zoneName));
 }