Add method

void Add(
  1. SearchFilter? searchFilter
)
Adds a search filter of any type to the collection. The search filter to add. Available search filter classes include SearchFilter.IsEqualTo, SearchFilter.ContainsSubString and SearchFilter.SearchFilterCollection.

Implementation

void Add(SearchFilter? searchFilter) {
  if (searchFilter == null) {
    throw new ArgumentNullException("searchFilter");
  }

  searchFilter.addOnChangeEvent(this.SearchFilterChanged);
  this._searchFilters.add(searchFilter);
  this.Changed();
}