public FilterInstance Find(string filterName) { FilterInstance toReturn = null; foreach (FilterInstance filter in this.List) { if (filter.Instance.Name.Equals(filterName)) { toReturn = filter; break; } } return(toReturn); }
public void Add(FilterInstance filterToAdd) { this.List.Add(filterToAdd); }
public void Insert(int index, FilterInstance filterToRemove) { this.List.Insert(index, filterToRemove); }
public void Remove(FilterInstance filterToRemove) { filterToRemove.Dispose(); this.List.Remove(filterToRemove); }