AddRange method

void AddRange(
  1. Iterable<SearchFilter> searchFilters
)
Adds multiple search filters to the collection. The search filters to add. Available search filter classes include SearchFilter.IsEqualTo, SearchFilter.ContainsSubString and SearchFilter.SearchFilterCollection.

Implementation

void AddRange(Iterable<SearchFilter> searchFilters) {
  if (searchFilters == null) {
    throw new ArgumentNullException("searchFilters");
  }

  for (SearchFilter searchFilter in searchFilters) {
    searchFilter.addOnChangeEvent(this.SearchFilterChanged);
  }
  this._searchFilters.addAll(searchFilters);
  this.Changed();
}