예제 #1
0
        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);
        }
예제 #2
0
 public void Add(FilterInstance filterToAdd)
 {
     this.List.Add(filterToAdd);
 }
예제 #3
0
 public void Insert(int index, FilterInstance filterToRemove)
 {
     this.List.Insert(index, filterToRemove);
 }
예제 #4
0
 public void Remove(FilterInstance filterToRemove)
 {
     filterToRemove.Dispose();
     this.List.Remove(filterToRemove);
 }